Skip to content

Commit

Permalink
Fix for old pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
HyukjinKwon committed Feb 10, 2020
1 parent c67447d commit 12e47c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion databricks/koalas/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ def apply(self, func, axis=0):
... def length(s) -> int:
... return len(s)
...
>>> df = ks.DataFrame(range(1000), columns=['A'])
>>> df = ks.DataFrame({'A': range(1000)})
>>> df.apply(length, axis=0) # doctest: +SKIP
0 83
1 83
Expand Down

0 comments on commit 12e47c7

Please sign in to comment.