Specify pandas index name in the constructor

前端 未结 0 945
旧时难觅i
旧时难觅i 2020-12-01 06:17

Can I specify a pandas DataFrame index name in the constructor?

Said otherwise, I would like to do the following:

df = pd.DataFrame({"a":[1,2         


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