Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To follow pandas 0.2.0 update, DataFrame.ix() function change to DataFrame.loc() #38

Open
sam8helloworld opened this issue May 12, 2021 · 0 comments

Comments

@sam8helloworld
Copy link

sam8helloworld commented May 12, 2021

Hi! Thank you for your code.
I run this.

python utils/ucf101_json.py annotation_dir_path

then caught this error.

'DataFrame' object has no attribute 'ix'

At pandas >= 0.2.0, DataFrame.ix() function have already got deprecated.
https://pandas.pydata.org/pandas-docs/version/0.20/whatsnew.html#deprecate-ix

So I suggest DataFrame.ix() -> DataFrame.loc()

Corresponding Parts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant