"Must pass left_on or left_index=True" 是 pandas 库中的错误提示,意思是在进行左连接操作时,必须指定左表的连接列或将左表的索引设为连接键,否则无法进行连接操作。即在调用 merge
函数时,需要传入 left_on
参数或将 left_index
设为 True
。
Must pass left_on or left_index=True什么意思
最新推荐文章于 2023-04-15 10:43:50 发布
"Must pass left_on or left_index=True" 是 pandas 库中的错误提示,意思是在进行左连接操作时,必须指定左表的连接列或将左表的索引设为连接键,否则无法进行连接操作。即在调用 merge
函数时,需要传入 left_on
参数或将 left_index
设为 True
。