How to write dataframe to csv to the current working directory python

后端 未结 0 705
感情败类
感情败类 2020-12-02 17:56

My code would be something like this :

  import os
  import pandas as pd
  cwd = os.getcwd()
  csv_name = \'/CONTCAR_SORTED\'
  df = pd.read_csv(f"{cwd}{         


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