Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. 2001-01-03 00:00:00 NaN NaN NaN NaN NaN
  2. 2001-01-03 00:01:00 0.95110 0.95110 0.95110 0.95110 4.0
  3. 2001-01-03 00:02:00 0.95100 0.95110 0.95100 0.95110 4.0
  4. 2001-01-03 00:03:00 0.95100 0.95100 0.95100 0.95100 4.0
  5. 2001-01-03 00:04:00 0.95090 0.95090 0.95090 0.95090 4.0
  6. 2001-01-03 00:05:00 0.95100 0.95100 0.95100 0.95100 4.0
  7.  
  8. 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