Skip to content

Commit

Permalink
chore: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com>
  • Loading branch information
cpcloud and jcrist authored Sep 25, 2024
1 parent 551624e commit 6a3dfbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ibis/backends/sql/rewrites.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def lower_sample(_, **kwargs):


@replace(p.ArrayMap | p.ArrayFilter)
def subtract_one_from_index_argument(_, **kwargs):
def subtract_one_from_array_map_filter_index(_, **kwargs):
# no index argument, so do nothing
if _.index is None:
return _
Expand Down
2 changes: 1 addition & 1 deletion ibis/expr/types/arrays.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def map(
│ [] │
└────────────────────────┘
You can optionally include a second index argument in map function
You can optionally include a second index argument in the mapped function
>>> t.a.map(lambda x, i: i % 2)
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
Expand Down

0 comments on commit 6a3dfbd

Please sign in to comment.