题目2单选题
读取 CSV 文件时,以下哪个函数用于读取刀具铣切的测量数据A. pd.read_csv (os.path.join (DATAPATH, CSVNAME), header=None, nrows=None, float_precision="round_trip", names=['Fx', 'Fy', 'Fz', 'Vx', 'Vy', 'Vz', 'aerms'])B. pd.read_csv (os.path.join (WEARPATH, WEARNAME))C. os.listdir (DATAPATH)D. np.loadtxt (os.path.join (DATAPATH, CSVNAME))
题目4单选题
随机抽样中,从 cutter_c1_sample 数据集中抽取 2000 行数据(保证下次抽取结果一样),使用的函数及参数正确的是( )A. cutter_c1_sample.sample (n=2000)B. cutter_c1_sample.sample (n=2000, random_state=123, axis=0)C. cutter_c1_sample.sample (n=2000, frac=1, axis=0)D. cutter_c1_sample.sample (n=2000, replace=True, axis=0)