I'm trying to load data with pandas from a txt table. The column separator was defined as "|@" as you can see in the example:
LINEA DE NEGOCIO|@NOMBRE CLIENTE|@NUMERO CLIENTE|@NUMERO DE CONTRATO|@TIPO DE SEGURO
The system does not allow to use "|@" as separator.
Could you help me with this loading?
Thanks in advance.
I share the code:
df = pd.read_table('D:/Art_492/Encabezado.txt', sep='|@', index_col=0).astype(str)
question from:https://stackoverflow.com/questions/65855488/load-data-from-text-with-pandas-with-a-two-characters-as-separator