Skip to content

Commit 13179d5

Browse files
committed
Fix for old pandas
1 parent 30fe070 commit 13179d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databricks/koalas/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,7 @@ def apply(self, func, axis=0):
18191819
... def length(s) -> int:
18201820
... return len(s)
18211821
...
1822-
>>> df = ks.DataFrame(range(1000), columns=['A'])
1822+
>>> df = ks.DataFrame({'A': range(1000)})
18231823
>>> df.apply(length, axis=0) # doctest: +SKIP
18241824
0 83
18251825
1 83

0 commit comments

Comments
 (0)