mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 04:37:32 +07:00
GitOrigin-RevId: ddcb33ebe7ad16c46def53c0cfd40e3bbcd27c77
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
|