Skip to content

Instantly share code, notes, and snippets.

@AdroitAnandAI
Created December 15, 2018 00:16
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 AdroitAnandAI/d75cdd64e1df4c00dea80ef4a67e2b07 to your computer and use it in GitHub Desktop.
Save AdroitAnandAI/d75cdd64e1df4c00dea80ef4a67e2b07 to your computer and use it in GitHub Desktop.
analysis2
# To find stats of each feature.
crimeData.describe()
# This row has to be dropped because of data anomaly.
crimeData[crimeData['prbarr'] > 1]
# The location cannot be both west and central together.
crimeData[crimeData['west']+crimeData['central'] > 1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment