In [139]: pandas.__version__
Out[139]: 0.7.3
I have two aligned series in a DataFrame
which have several unmatched "NaN". I would like to print the intersection between them removing all "NaN s", but without loose alignment. That is, I want to remove the rows from both series whem I find a "NaN" in one of them. It sounds simple, but I not doing any operation between the series to dropna s afterwards and cannot dropna s from the series separately. I couldn t figure out the right df function to do this - several are not documented.
Just an example, I want to take this:
10 NaN -1.200
11 NaN -1.324
12 0.000585 NaN
13 0.000573 -1.453
14 NaN -2.006
打印此 :
13 0.000573 -1.453