- 1

Can somebody tell me how to find missing numbers in a pandas data frame(python)..

3rd Sep 2020, 1:23 AM
Ganesh S
5 Réponses
+ 2
Use pd.isnull().sum()
3rd Sep 2020, 1:28 AM
Jolomi Tosanwumi
+ 1
Yes you can...first read in the csv file to a dataframe and then look for the missing value as in... import pandas as pd df = pd.read_csv('url') # if the file is in your #local machine, put its path instead. missing_values = df.isnull().sum() print(missing_values)
3rd Sep 2020, 1:57 AM
Jolomi Tosanwumi
0
Maybe this might also help? It is very similar to the recommendation Jolomi Tosanwumi suggested https://code.sololearn.com/c9LlGm46jwx3/?ref=app
3rd Sep 2020, 1:41 AM
Steven M
Steven M - avatar
0
But it's a CSV file
3rd Sep 2020, 1:47 AM
Ganesh S
0
Can we actually do it
3rd Sep 2020, 1:47 AM
Ganesh S