Use regex s*^
which means 0 or more whitespace and ^, you have to specify the python engine here to avoid a warning about regex support:
In [152]:
t="""A ^B^C^D^E ^F ^G ^H^I^J^K^L^M^N"""
df= pd.read_csv(io.StringIO(t), sep='s*^', engine='python')
df.columns
Out[152]:
Index(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N'], dtype='object')
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…