You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filter rows using a callable in Python's built in filter.
This is very useful and can be reused. It might make sense to merge with dataflows.filter_rows.
h/t @shevron
def filter_rows_callable(cb):
def f(rows):
yield from filter(cb, rows)
return f
The text was updated successfully, but these errors were encountered:
Filter rows using a callable in Python's built in
filter
.This is very useful and can be reused. It might make sense to merge with
dataflows.filter_rows
.h/t @shevron
The text was updated successfully, but these errors were encountered: