Examples

In [1]:
import numpy as np
import pandas as pd
In [6]:
s = pd.Series([0.0, 2.0, np.nan])
In [7]:
s.count()
Out[7]:
2