python resign headers to a dataframe Posted on 2018-09-27 | Edited on 2018-07-19 description: python pandas rename or change column names python rename column headers12345678910import pandas d1 = pandas.DataFrame([[1,2,3]])# d1# 0 1 2# 0 1 2 3d2 = pandas.DataFrame(d1.values, columns = ['a', 'b', 'c'])# d2# a b c# 0 1 2 3 more on search4fan.github.io Post author: killfun Post link: http://search4fan.github.io/post/python_dataframe_resign_headers.html Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.