mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-25 18:25:37 +07:00
9 lines
246 B
Python
9 lines
246 B
Python
import pandas as pd
|
|
import numpy as np
|
|
|
|
frame = pd.DataFrame(data=np.random.randint(0, high=10, size=(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
|