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.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment