where

where(test)

Select the columns for which a function returns True, such as is_numeric.

Parameters

Name Type Description Default
test callable A function taking a column (a Series) and returning True or False. required

Returns

Name Type Description
dict A selection that the helpers resolve against their data.

See Also

everything

Examples

>>> diagnose(podracing_survey, where(is_numeric))