Sep-08-2022, 06:16 PM
I have a program that takes forty-five minutes to run. That makes it harder to debug.
It takes 40 minutes to get to the critical area. If I do not correctly debug, it takes
another forty-five minutes to get back to the critical area.
That is no good. I want to know two things:
1. Is it possible to write a dataframe frame to a csv file on the hard drive? I know how to read a csv file; I just do not know if a dataframe can be directly written to a csv file on the hard drive.
2. Since Python is so different from other languages, does it have a way to do this that is not as awkward a no 1? Anyway, that improves on 1 would be nice.
Any help appreciated. Thanks in advance.
R,
LZ
It takes 40 minutes to get to the critical area. If I do not correctly debug, it takes
another forty-five minutes to get back to the critical area.
That is no good. I want to know two things:
1. Is it possible to write a dataframe frame to a csv file on the hard drive? I know how to read a csv file; I just do not know if a dataframe can be directly written to a csv file on the hard drive.
2. Since Python is so different from other languages, does it have a way to do this that is not as awkward a no 1? Anyway, that improves on 1 would be nice.
Any help appreciated. Thanks in advance.
R,
LZ