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
Minor code cleanup opportunity here. _get_cython_function in core/groupby returns a tuple containing a function and a dtype_str. While the latter is unpacked, it never appears to be used in code that calls it.
As an alternate to removing it, it may serve some purpose if the below line is refactored to use it rather than creating its own local variable, but unless there's some other purposes I'd still just suggest cleaning up the _get_cython_function itself
Minor code cleanup opportunity here.
_get_cython_function
incore/groupby
returns a tuple containing a function and adtype_str
. While the latter is unpacked, it never appears to be used in code that calls it.pandas/pandas/core/groupby.py
Line 2243 in 93c86aa
As an alternate to removing it, it may serve some purpose if the below line is refactored to use it rather than creating its own local variable, but unless there's some other purposes I'd still just suggest cleaning up the
_get_cython_function
itselfpandas/pandas/core/groupby.py
Line 2318 in 93c86aa
The text was updated successfully, but these errors were encountered: