Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2001-01-03 00:00:00 NaN NaN NaN NaN NaN
- 2001-01-03 00:01:00 0.95110 0.95110 0.95110 0.95110 4.0
- 2001-01-03 00:02:00 0.95100 0.95110 0.95100 0.95110 4.0
- 2001-01-03 00:03:00 0.95100 0.95100 0.95100 0.95100 4.0
- 2001-01-03 00:04:00 0.95090 0.95090 0.95090 0.95090 4.0
- 2001-01-03 00:05:00 0.95100 0.95100 0.95100 0.95100 4.0
- df = df.apply(lambda x: df2.ix[x['row']] if x.isnull().any() else x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement