-
Notifications
You must be signed in to change notification settings - Fork 328
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
Cannot use name 'pop' in Pandas DataFrame #244
Comments
In python, doing df_bad.pop.as_matrix() gives an error. This is because The following in python works: df_bad[['pop']].as_matrix() It seems like somewhere in reticulate's conversion df_bad.pop.as_matrix is getting called and if that could be avoided by calling df_bad[['pop']].as_matrix that would solve the issue... there are likely other DataFrame methods other than pop that will lead to this kind of unexpected error. |
Nice catch, thanks! |
Assuming we can now close this? |
Yes, thanks! |
This may be related to #157
So far so good, but when I try to bring this into R:
However:
It seems like the name
'pop'
is somehow messing things up, and I don't think it should.The text was updated successfully, but these errors were encountered: