Skip to content

Commit fa01867

Browse files
code sample for pandas-dev#46684
1 parent 89ffe3f commit fa01867

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

bisect/46684.py

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# BUG: apply on DataFrame results in TypeError: copy() missing 1 required positional argument: 'self' #46684
2+
3+
import pandas as pd
4+
5+
print(pd.__version__)
6+
7+
df = pd.DataFrame(list(range(100)))
8+
9+
result = df.apply(lambda x: type(x))
10+
print(result)

0 commit comments

Comments
 (0)