Skip to content

Commit afe4af9

Browse files
committed
Make numpy import optional in ElementService
Fixes #1076
1 parent fd233a4 commit afe4af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TM1py/Services/ElementService.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
from io import StringIO
55
from typing import List, Union, Iterable, Optional, Dict, Tuple
66

7-
import numpy as np
87

98
from TM1py import Subset, Process
109

1110
try:
1211
import pandas as pd
12+
import numpy as np
1313

1414
_has_pandas = True
1515
except ImportError:

0 commit comments

Comments
 (0)