Skip to content

Instantly share code, notes, and snippets.

@mindsdbadmin
Last active March 17, 2021 00:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mindsdbadmin/4e71f2147ff2e644ccccb411d12a9840 to your computer and use it in GitHub Desktop.
Save mindsdbadmin/4e71f2147ff2e644ccccb411d12a9840 to your computer and use it in GitHub Desktop.
Pure Pandas select and filter
# Select columns
result_df1 = gstore_apps_df.loc[,: ['App','Category',Rating']]
# From the resulting dataframe filter where Price = 0
result_df = result_df1['Price'] == 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment