Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 653 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 653 Bytes

ChallengeCrimeData

Technical Test to evaluate my skills in Python with Pandas Library

Solution Code

Steps

  • Scrapping with selenium: headless mode, untrack driver automations
  • Read Excel data in Victims.zip: Use zipfile.ZipFile
  • Select crimes against propety without:
    • totals: Remove column using df.drop('column_name',axis=1)
    • index: Use df.to_csv('file_name',index=False)
    • footer: Use df.dropna() removes rows with NaN values