摘要:
random_index = random.randint(0, df.shape[0]) # 获取随机行 print(df.iloc[random_index]) # 获取随机行数据 阅读全文
posted @ 2022-06-10 14:21
OTAKU_nicole
阅读(158)
评论(0)
推荐(0)
摘要:
df.shape[0] # 获取行数 df.shape[1] # 获取列数 阅读全文
posted @ 2022-06-10 14:20
OTAKU_nicole
阅读(179)
评论(0)
推荐(0)

浙公网安备 33010602011771号