Python in Hydrology and Hydraulics
Python programming, with examples in hydraulic engineering and in hydrology.
Showing posts with label
maximum
.
Show all posts
Showing posts with label
maximum
.
Show all posts
Thursday, June 13, 2019
Find Maximum Values by year in timeseries dataframe, keeping the date
df2=df1.ix[df1.groupby(df1.index.year).idxmax().iloc[:,0]]
Older Posts
Home
Subscribe to:
Posts (Atom)