I have a dataframe with nans in it:
>>>df.head() Out[1]: JPM US SMALLER COMPANIES C ACC 1990-01-02 NaN 1990
You need to assign the value df = df.fillna( t )
df = df.fillna( t )