Your input for this function should be an individual year. Your output should be the oldest player in the NBA data for that year (if multiple players have the same age, then decide how to return a single player).
1 | function_2(df, year)
|
df |
This is the data frame you want to use. |
year |
Choose a year you are interested in. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.