Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

import .dat pandas

# Needed packages
import pandas as pd

# Import 

''' use "s+" if columns are separatd by space'''

df = pd.read_table("test.dat", sep="s+") 
print df
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #import #pandas
ADD COMMENT
Topic
Name
1+5 =