pandas sample用法,该函数是从该列中随机抽取数据不排列。数据集代码:train=pd.read_csv('./1.csv')print(train['q'].sample(1))输出:23Name:q ...
確定! 回上一頁