Here we have a keyword argument, don't use white spaces in a function declaration when assigning defaults.

`pick_components=[0, -1]`

Also, don't use mutable defaults. Use `None` and then resolve in the function body.