Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pd.read_excel column data type

# Assuming data types for `a` and `b` columns to be altered
pd.read_excel('file_name.xlsx', dtype={'a': np.float64, 'b': np.int32})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #column #data #type
ADD COMMENT
Topic
Name
3+5 =