You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [34]: df2.pivot('Date', 'Individual')
Out[34]:
Exercises
Individual 1 2
Date
1/1/2001 10 NaN
1/3/2001 NaN 5
In [35]: df2.pivot('Date', 'Individual').reindex(df['Date'])
Out[35]:
Exercises
Individual 1 2
1/1/2001 10 NaN
1/2/2001 NaN NaN
1/3/2001 NaN 5
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: