TypeError:"(['guardrails'], ['order_case'])' is an invalid key"尝试在 pandas 中逐行获取两列的最小值时出现错误,但以上两列存在于数据框中。
TypeError:"(['guardrails'], ['order_case'])' is an invalid key"
代码行:
Master_File['Guardrails View'] = min(Master_File[['guardrails'],['order_case']])
跃然一笑
相关分类