Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

# load multiple csv files into dataframe

# load multiple csv files into dataframe
import glob
import pandas as pd
csv_files = glob.glob("/content/sample_data/*.csv")
df = [pd.read_csv(filename) for filename in csv_files]
 
PREVIOUS NEXT
Tagged: #load #multiple #csv #files #dataframe
ADD COMMENT
Topic
Name
2+7 =