FSAN830's Awesome Homepage

Bookmark this to keep an eye on our project updates!

View the Project on GitHub flyaflya/fsan830spring2025

Gaoxiang Chen

Profile Picture

About Me

[I am Gaoxiang (Gao) Chen, who loves sports and food.]

Research Interests And/Or Favorite Three Topics Covered In Other Classes

XML to xarray Challenge

def get_top_3(ds): df = ds.to_dataframe().reset_index() top_3 = df.groupby([“trackID”, “trackName”, “raceDate”, “raceNumber”]).apply( lambda x: x.nsmallest(3, “finishingPosition”) ).reset_index(drop=True) return top_3

top_3_horses = get_top_3(ds) print(top_3_horses)