3
1

More than 1 year has passed since last update.

pandas dataframeから行番号・列番号を削除する

Posted at

方法

sample.py
df.to_csv(index=False,header=False)

備考

dataframeのまま行番号・列番号を削除する方法が見つからなかった。しかし、これらを削除したいと思うときはcsvに出力したいときが想定される。なのでこれで困らない。

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1