DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
set column datatype pandas
df = pd.read_csv("weather.tsv", sep=" ", dtype={'Day': str,'Wind':int64}) df.dtypes
Source by cmdlinetips.com #
PREVIOUS
NEXT
Tagged:
#set
#column
#datatype
#pandas
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit