Skip to content

Instantly share code, notes, and snippets.

@mattharrison
Last active February 14, 2024 20:58
Show Gist options
  • Save mattharrison/ddbd73c13ad0e76ec638311c669bc96b to your computer and use it in GitHub Desktop.
Save mattharrison/ddbd73c13ad0e76ec638311c669bc96b to your computer and use it in GitHub Desktop.
Idiomatic Pandas: 5 tips for better pandas code
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@theAfricanQuant
Copy link

image
I am getting even after downgrading my pandas to "pandas==1.2.3"

@theAfricanQuant
Copy link

theAfricanQuant commented Feb 20, 2022

(autos [cols] .query('cylinders.isnull()', engine='python') )

The code above (chained of course) worked for me after some stackoverflowing. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment