Skip to content

Commit 70f1e20

Browse files
committed
refer to private attribute for pandas in PyscesScan, don't import
1 parent 53920a3 commit 70f1e20

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pysces/PyscesScan.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,7 @@ def getResultMatrix(self, stst=False, lbls=False):
376376
return output_array, labels
377377
else:
378378
if self.mod.__settings__['custom_datatype'] == 'pandas':
379-
import pandas
380-
return pandas.DataFrame(output_array, columns=labels)
379+
return self.mod._PysMod__pandas.DataFrame(output_array, columns=labels)
381380
else:
382381
return output_array
383382

0 commit comments

Comments
 (0)