Skip to content

Commit

Permalink
fix format in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
samukweku committed Jan 10, 2023
1 parent a3f9b17 commit 8c96eb5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion janitor/functions/mutate.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ def mutate(
... 'avg_swim': [2, 1, 2, 2, 3, 4],
... 'combine_id': [100200, 100200, 101200, 101200, 102201, 103202],
... 'category': ['heats', 'heats', 'finals', 'finals', 'heats', 'finals']}
... })
>>> df = pd.DataFrame(data)
>>> df.mutate({"avg_run":"mean"}, by=['combine_id', 'category'])
avg_jump avg_run avg_swim combine_id category
Expand Down

0 comments on commit 8c96eb5

Please sign in to comment.