Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python read tab delimited file

import pandas as pd
import codecs

df = pd.read_csv(filename, sep='	', lineterminator='
')

# To increase robustness, optionnal.
doc = codecs.open('document','rU','UTF-16')

df = pd.read_csv(doc, sep='	')
 
PREVIOUS NEXT
Tagged: #python #read #tab #delimited #file
ADD COMMENT
Topic
Name
9+3 =