Section: Decorators and higher-order functions

Filter data

python
python
valid = list(filter(None, values))

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Decorators and higher-order functions
Map over data
Map over data
OpenIn sheetpythonsame section
Simple decorator
Simple decorator
OpenIn sheetpythonsame section
Decorator factory
Decorator factory
OpenIn sheetpythonsame section
Reduce values
Reduce values
OpenIn sheetpythonsame section
Partial function
Partial function
OpenIn sheetpythonsame section
Define a function
Define a function