Skip to content

Instantly share code, notes, and snippets.

@Dhrumilcse
Last active May 20, 2021 05:56
Show Gist options
  • Save Dhrumilcse/a4e4b4dde812b802df0d6115edb38a15 to your computer and use it in GitHub Desktop.
Save Dhrumilcse/a4e4b4dde812b802df0d6115edb38a15 to your computer and use it in GitHub Desktop.
# Only keep transactions where amount is < 1000
data = data[data.amount < 1000]
with data_process_output:
print(f"Processed a total of {len(data)} transactions.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment