[关闭]
@Sherlockyang 2017-12-29T03:46:09.000000Z 字数 107 阅读 442

Dataframe按照元素索取某一行

python


import pandas as pd
from pandas import DataFrame as df
a = df()
ans = a[()&()&()]

其中各个一定要打上括号,否则会报错

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注