Skip to content

Commit 74a2a73

Browse files
code sample for pandas-dev#43357
1 parent 9700b93 commit 74a2a73

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

bisect/43357.py

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# BUG: #43357
2+
3+
import pandas as pd
4+
5+
print(pd.__version__)
6+
7+
8+
def func(a, b, c=2):
9+
return a, b, c
10+
11+
12+
s = pd.Series([1, 2, 3, 4])
13+
14+
result = s.aggregate(func, 0, 99, c=101)
15+
print(result)

0 commit comments

Comments
 (0)