Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas parameters read

# Read the csv file with 'Date' as index and parse_dates=True
df = pd.read_csv("data.csv", index_col='Date', parse_dates=True, nrows=5)

# Display index
df.index
Source by www.machinelearningplus.com #
 
PREVIOUS NEXT
Tagged: #pandas #parameters #read
ADD COMMENT
Topic
Name
8+4 =