Computer scienceData scienceInstrumentsPandasData analysis with pandas

Summarizing categorical columns

Counting missing values

Report a typo

You have a DataFrame with a distribution of some value:

df.head()

Output:

+----+--------------+
|    |   some_value |
|----+--------------|
|  0 |      0.90201 |
|  1 |      0.67132 |
|  2 |      0.30391 |
|  3 |      0.11412 |
|  4 |      nan     |
+----+--------------+

Insert one line to output the number of missing values in the DataFrame.

Write a program in Python 3
# your code here. The DataFrame is already loaded as df.

print(...)
___

Create a free account to access the full topic