mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
9 lines
243 B
Python
9 lines
243 B
Python
import pandas as pd
|
|
import numpy as np
|
|
|
|
frame = pd.DataFrame(data=np.arange(8, dtype='f').reshape((4, 2)), columns=['a', 'b'], index=pd.MultiIndex([['s', 'd'], [2, 3]], [[0, 0, 1, 1], [0, 1, 0, 1]]))
|
|
|
|
series = frame.a
|
|
|
|
print(series) # line 7
|