python/pandas/DataFrame/\345\210\227\345\220\215\343\201\256\345\244\211\346\233\264.md
... ...
@@ -0,0 +1,9 @@
1
+[pandas.DataFrameの行名・列名の変更 note.nkmk.me](https://note.nkmk.me/python-pandas-dataframe-rename/)
2
+
3
+```
4
+print(df.rename(columns={'A': 'Col_1', 'C': 'Col_3'}))
5
+# Col_1 B Col_3
6
+# ONE 11 12 13
7
+# TWO 21 22 23
8
+# THREE 31 32 33
9
+```
... ...
\ No newline at end of file