When I used the to_csv function with pandas, the output became one line free, so I will write a memo here.
The required description is as follows
import pandas as pd pd.to_csv("C://TEST/TEST2//data.csv",line_terminator='\n')
When I put the argument
line_terminator ='\ n', it fits in a circle.