#将dataframe转化成json文件时候,head文件发现文件不是中文

 

解决方案:

all_insurance.to_json("scrapy_insurance_kc.json", orient="records", lines=True, force_ascii=False) 

 

相关文章:

  • 2021-06-17
  • 2022-12-23
  • 2021-11-04
  • 2021-07-20
  • 2021-09-29
  • 2021-12-08
  • 2021-05-24
猜你喜欢
  • 2021-04-07
  • 2021-10-18
  • 2022-12-23
  • 2021-11-27
  • 2021-11-27
相关资源
相似解决方案