Skip to content

Instantly share code, notes, and snippets.

@rodrigols89
Created September 18, 2020 20:54
Show Gist options
  • Select an option

  • Save rodrigols89/73e7513f49b703b0b46cae41b4594565 to your computer and use it in GitHub Desktop.

Select an option

Save rodrigols89/73e7513f49b703b0b46cae41b4594565 to your computer and use it in GitHub Desktop.
import pandas as pd
pd.set_option('display.max_columns', 18)
data = pd.read_csv('../datasets/athlete_events.csv')
percentMissing = (data.isnull().sum() / len(data['ID'])) * 100
print(percentMissing)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment