katerina-bonditka

Untitled

Mar 17th, 2024
564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. # 1. Название колонок вашего датафрейма запишите в текстовый файл
  2. with open("columns.txt", "w", encoding="utf-8") as fio:
  3.     fio.write(",".join(df.columns))
Advertisement
Add Comment
Please, Sign In to add comment