Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions pandas/core/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,9 +589,6 @@ def get_iterator(self, data, axis=0, keep_internal=True):
Generator yielding sequence of (name, subsetted object)
for each group
"""
comp_ids, _, ngroups = self.group_info
splitter = get_splitter(data, comp_ids, ngroups, axis=axis,
keep_internal=keep_internal)
splitter = self._get_splitter(data, axis=axis,
keep_internal=keep_internal)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a particular reason you chose to remove this one and not the other? Maybe turn comp_ids into _ to indicate that it isn't being used anymore.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the call that was not being used. The following call to the internal method was written a few days later and the intent seems to have been to replace this call.

The previous assignment is now redundant as well. It is repeated in _get_splitter(). I'll push a commit to remove it.

keys = self._get_group_keys()
Expand Down