Skip to content

Instantly share code, notes, and snippets.

@hsyyid

hsyyid/filter.py Secret

Created August 25, 2020 19:51
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 hsyyid/74c0e3da1978def44e8a3820b79ff770 to your computer and use it in GitHub Desktop.
Save hsyyid/74c0e3da1978def44e8a3820b79ff770 to your computer and use it in GitHub Desktop.
# We filter for only SalesItemLineDetail
invoices = invoices.pipe(lambda x: x[x['Line.DetailType'] == 'SalesItemLineDetail'])
invoices.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment