Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

split dat file into datafram in python

df= pd.read_csv('/content/drive/MyDrive/Colab Notebooks/res_data/tmp2.dat', header = None, delim_whitespace=True, error_bad_lines=False)

# error_bad_lines=False is the key here
 
PREVIOUS NEXT
Tagged: #split #dat #file #datafram #python
ADD COMMENT
Topic
Name
2+2 =