Skip to content

Commit

Permalink
typ fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jangorecki committed Mar 14, 2019
1 parent 0d27b9b commit cc51df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/groupby-pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
gc.collect()
t_start = timeit.default_timer()
ans = x.groupby(['id2','id4']).apply(lambda x: pd.Series({'range_v1_v2': x['v1'].max()-x['v2'].min()}))
ans.reset_index(inplace=True)s
ans.reset_index(inplace=True)
print(ans.shape, flush=True)
t = timeit.default_timer() - t_start
m = memory_usage()
Expand Down

0 comments on commit cc51df2

Please sign in to comment.