how to specify columns data type in pandas dataframe code example
Example 1: set type of column pandas
df.astype(int)
Example 2: set column datatype pandas
df = pd.read_csv("weather.tsv", sep="\t",
dtype={'Day': str,'Wind':int64})
df.dtypes