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
Some attributes are deprecated in current pandas version (1.1.5).
Traceback (most recent call last):
File ".\main.py", line 149, in <module>
Dyn_MFA_System.Consistency_Check()
File ".\Programs\Python\Python39\lib\site-packages\odym\modules\ODYM_Classes.py", line 143, in Consistency_Check
A = self.IndexTableCheck()
File ".\Programs\Python\Python39\lib\site-packages\odym\modules\ODYM_Classes.py", line 103, in IndexTableCheck
if self.IndexTable.ix[indx]['Dimension'] != self.IndexTable.ix[indx]['Classification'].Dimension:
File ".\Programs\Python\Python39\lib\site-packages\pandas\core\generic.py", line 5141, in __getattr__
return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'ix'
Thanks to both @sdworf and @guest-cc for checking! The PR that replaces pd.ix by pd.loc is now merged and the main branch of ODYM contains the new version. Will still check the .ipynb tutorials for this issue.
Some attributes are deprecated in current pandas version (1.1.5).
I found the following fix:
https://stackoverflow.com/questions/59991397/attributeerror-dataframe-object-has-no-attribute-ix
Which version of pandas do you use or recommend to run the odym package with?
#4 indicates pandas 0.22.0, is that still accurate?
Thank you
The text was updated successfully, but these errors were encountered: