Skip to content

Instantly share code, notes, and snippets.

@datagy
Last active October 15, 2022 11:30
Show Gist options
  • Select an option

  • Save datagy/a37c22429df1a7207cc1d52e93c817c3 to your computer and use it in GitHub Desktop.

Select an option

Save datagy/a37c22429df1a7207cc1d52e93c817c3 to your computer and use it in GitHub Desktop.
{
"Filter a Pandas DataFrame": {
"prefix": "pf",
"body": [
"${1:df} = ${1:df}[${1:df}['${2:Column}'] ${3|==, >, >=, <, <=, !=|} ${4:Filter}] "
],
"description": "Filter a Pandas DataFrame"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment