Aligning column of a dataframe while printing it on console pandas

前端 未结 0 1156
后悔当初
后悔当初 2020-11-29 12:01

I have a dataframe like this:

matrix = [(\'Rhythm sport\', 45.678), (\'Synchr swim\', 52.785), (\'Gymn\',11.355)]
df = pd.DataFrame(matrix)
print(df.to_string         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题