Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas open text file

df = pd.read_csv('output_list.txt', sep=" ", header=None, names=["a", "b", "c"])

data = pd.read_csv('output_list.txt', sep=" ", header=None)
data.columns = ["a", "b", "c", "etc."]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #open #text #file
ADD COMMENT
Topic
Name
3+4 =