Python Forum
can we write command output to new csv file using Panda package? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: can we write command output to new csv file using Panda package? (/thread-24976.html)



can we write command output to new csv file using Panda package? - PythonBeginner_2020 - Mar-13-2020

Dear,
I need to execute some commands on remote servers and i need to write the output to as CSV file in python.
can we write command output to new CSV file using Panda package? how can we do this?


RE: can we write command output to new csv file using Panda package? - ndc85430 - Mar-13-2020

Do you really need to use pandas? The standard library csv module might be useful: https://docs.python.org/3/library/csv.html.


RE: can we write command output to new csv file using Panda package? - PythonBeginner_2020 - Mar-13-2020

whether CSV or Pandas which ever is easy?


RE: can we write command output to new csv file using Panda package? - ndc85430 - Mar-13-2020

Why don't you try the standard library module first then?