You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "mimic_direct_extract.py", line 973, in <module>
if N is not None: print("Notes", N.shape, N.index.names, N.columns.names)
File "/afs/csail.mit.edu/u/a/amakelov/.conda/envs/mimic_data_extraction/lib/python3.6/site-packages/pandas/core/generic.py", line 5063, in __getattr__
return object.__getattribute__(self, name)
AttributeError: 'Series' object has no attribute 'columns'
I believe this is not due to something wrong with setting up the database or the materialized views. Rather, it seems that something went wrong with the internal logic of the script (seems like the script expects N to be a dataframe?).
The text was updated successfully, but these errors were encountered:
amakelov
changed the title
Problem running mimic_direct_extract.py
Bug in mimic_direct_extract.py: 'Series' object has no attribute 'columns' on line 973
Jan 14, 2021
Running
fails with the following traceback:
I believe this is not due to something wrong with setting up the database or the materialized views. Rather, it seems that something went wrong with the internal logic of the script (seems like the script expects N to be a dataframe?).
The text was updated successfully, but these errors were encountered: