我有一个DataFrame,即'traj',如下所示: x y z1 4 2 83 Some string herecontinues repeatedly a lot with the same strings here in index 3 and 480 Some string here 我正在定义一个函数,以便从DataFrame中删除</em
我正在尝试将所有原始数据(csv文件)导入到一个DataFrame中,由于原始数据文件有一些无用的行,我喜欢通过"drop“删除它们,但是第一列的行是一个空白单元格。我无法删除它,而且dataframe无法识别该列。下面是我的代码:import numpy as np import os
#Determine fil