I have a project that use 3D data saved on text files. I'am currently using a single space to split data on first dimension, one line feed (\n) to split the second dimension and 2 line feeds (\n\n) to split the last dimension and was using the default read and write of python. The interpretation of these data are done using string splits and list comprehensions. Is there a way to do this using pandas?
I already tested the dataframe.write using a 3D numpy data and get the followning error: ValueError: Must pass 2-d input. Is it possible to workaround this?