for r in range(65000):
for c in range(8):
if df1.iloc[r,c] != NaN:
k=k+1
df.iloc[k,3] = df1.iloc[r,c]
else:
print("Nan Detected")
l=l+1
print(l," Nan Values encountered")
Run Code Online (Sandbox Code Playgroud) 命令
df_main['Ranking'] = df_main['Porosity']*['Permeability'] 给 -
类型错误:不能将序列乘以“str”类型的非整数
attacehd 图片(https://i.stack.imgur.com/0Asu3.png)有更多信息。我的代码片段位于 i.stack.imgur.com/ehqF5.png)