Python in Hydrology and Hydraulics
Python programming, with examples in hydraulic engineering and in hydrology.
Wednesday, November 14, 2018
Pandas - Select only numeric columns
df=df.select_dtypes(include=['float64'])
will return only the float values of the 'df' dataframe.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)