CachedObjectMutationWarning: Return value of read_excel() was mutated between runs.
什么都没有动,就提示。怎么把它禁掉?
df = st.cache(pd.read_excel)("sample_submission.xlsx")
CachedObjectMutationWarning: Return value of read_excel() was mutated between runs.
什么都没有动,就提示。怎么把它禁掉?
df = st.cache(pd.read_excel)("sample_submission.xlsx")
2 回答5.2k 阅读✓ 已解决
2 回答1.1k 阅读✓ 已解决
4 回答1.4k 阅读✓ 已解决
3 回答1.3k 阅读✓ 已解决
3 回答1.3k 阅读✓ 已解决
2 回答893 阅读✓ 已解决
1 回答1.8k 阅读✓ 已解决
如果你确定df没有动过,在cache中加allow_output_mutation=True可以忽略这个警告