📜  深度复制数据框 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:24.882000             🧑  作者: Mango

代码示例2
s = pd.Series([1, 2], index=["a", "b"])
>>> deep = s.copy()
>>> shallow = s.copy(deep=False)