📜  pandas 按索引选择行 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:15.706000             🧑  作者: Mango

代码示例6
indices = [133, 22, 19, 203, 14, 1]
df_by_indices = df.iloc[indices, :]