Added helper function to get float array from PyObject.
Added pick action.