Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
set column datatype pandas
cFreed
Programming language:
Python
2021-06-03 09:18:43
0
Q:
set column datatype pandas
dangerismycat
Code:
Python
2021-07-21 07:01:28
df = pd.read_csv("weather.tsv", sep="\t", dtype={'Day': str,'Wind':int64}) df.dtypes
2
Tags
data
type
set
pandas
Related
pandas print column names
dataframe column data type
change column name df
dataframe change column names
dataframe names pandas
how to change data type in dataframe python
python return column names of pandas dataframe
pandas dataframe creation column names
set type of column pandas
how to find the datatype of a dataframe in python
how to check datatype of column in dataframe python
column names pandas
astype float across columns pandas
get columns by type pandas
New to Communities?
Join the community