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 [24]: df['D'] = ['X', 'Y', 'Z', 'V']
In [25]: df
Out[25]:
A A B C D
0 0.148734 -0.041765 1.575866 1.422524 X
1 0.188963 2.086219 1.595425 0.539364 Y
2 1.498709 -0.338857 -0.210994 0.984697 Z
3 -0.197789 -0.093690 -0.421010 0.710587 V
I actually like this. it's very consistent and I thinks concise way of getting / setting (sort of a more advanced way but that's always good). and in higher dimensions, the only 'natural' way of doing it.
The text was updated successfully, but these errors were encountered: