Skip to content

Instantly share code, notes, and snippets.

@liannewriting
Created January 24, 2020 00:38
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 liannewriting/a24b56835bec96b059c47f1b74722328 to your computer and use it in GitHub Desktop.
Save liannewriting/a24b56835bec96b059c47f1b74722328 to your computer and use it in GitHub Desktop.
data_cleaning_202001
key = ['timestamp', 'full_sq', 'life_sq', 'floor', 'build_year', 'num_room', 'price_doc']
df.fillna(-999).groupby(key)['id'].count().sort_values(ascending=False).head(20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment