I have a csv file which I want to read using python panda. The header and lines looks the following:
A ^B^C^D^E ^F ^G ^H^I^J^K^L^M^N
Clearly it seen that, separator is ^, sometimes there are some odd spaces. How can I read this file perfectly?
I am using the following command to read the csv file:
df = pd.read_csv('input.csv', sep='^')