标签: python pandas dataframe
尝试在列上运行 loc 命令以过滤 certrain 条目,但在执行 df.shape 后在数据框中未显示任何行
df1 = df[df['spindle'] == '2'] print(df1.shape)
我不确定问题是否与主轴列中的空格有关,但不确定如何解决...