Skip to content

Instantly share code, notes, and snippets.

@SmartDataWithR
Created November 26, 2022 15:02
Show Gist options
  • Save SmartDataWithR/da5f22076209e2cf8a4a9d50bf23f82f to your computer and use it in GitHub Desktop.
Save SmartDataWithR/da5f22076209e2cf8a4a9d50bf23f82f to your computer and use it in GitHub Desktop.
Snippet: Advanced Snippet
{
"Filter DataFrame": {
"prefix": "df_filt",
"body": [
"${1:df_filt} = ${2:df_raw}[${2:df_raw}['${3:Column}'] ${4|==, >, >=, <, <=, !=|} ${5:Filter}] "
],
"description": "Filter a Pandas DataFrame"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment