StackOverflow Questions for Tag: itertools-groupby

Jordi van Selm
Jordi van Selm

Reputation: 75

Group arrays with same size efficiently

Score: 1

Views: 62

Answers: 0

Read More
Hernan19
Hernan19

Reputation: 47

get group of sublists that share common elements but those elements are not the same in all sublists

Score: 2

Views: 57

Answers: 1

Read More
Geremia
Geremia

Reputation: 5636

Group by first element, find ranges of second element

Score: -4

Views: 86

Answers: 1

Read More
ShIRann
ShIRann

Reputation: 1

self._grouper of itertools.groupby return empty list after cast to dict

Score: -1

Views: 16

Answers: 1

Read More
verynovice
verynovice

Reputation: 83

List of tuples: combine two dataframe columns if first tuple elements match

Score: 3

Views: 132

Answers: 4

Read More
Rashiq
Rashiq

Reputation: 429

create or use a function to find the repeated sequence of items in a list

Score: 1

Views: 161

Answers: 1

Read More
AJW
AJW

Reputation: 5873

returning min from dict values where there are more than one zeros

Score: 0

Views: 99

Answers: 3

Read More
Partha Pratim Sarma
Partha Pratim Sarma

Reputation: 45

Title: Python itertools.groupby gives inconsistent counts when printing only the counts

Score: -3

Views: 57

Answers: 1

Read More
Starlord22
Starlord22

Reputation: 159

Groupby using a sequence and computing sum

Score: 1

Views: 90

Answers: 2

Read More
Ξένη Γήινος
Ξένη Γήινος

Reputation: 3072

How to group two element tuples for a continuous range of first element with same second element?

Score: 0

Views: 85

Answers: 2

Read More
Yogesh Kamboj
Yogesh Kamboj

Reputation: 41

How to get corresponding values of other column using idxmax in aggregation

Score: 0

Views: 59

Answers: 1

Read More
Learner
Learner

Reputation: 91

How to group or batch the list of elements based on indices sublist?

Score: -1

Views: 34

Answers: 2

Read More
Zaku
Zaku

Reputation: 158

How do I use groupby on the output of a mapper?

Score: 0

Views: 104

Answers: 1

Read More
mazix
mazix

Reputation: 2604

How to print list of objects grouped by itertools' groupby?

Score: -1

Views: 208

Answers: 1

Read More
Zen4ttitude
Zen4ttitude

Reputation: 161

Sum categories by unique values in list in python

Score: 0

Views: 43

Answers: 3

Read More
Michel de Ruiter
Michel de Ruiter

Reputation: 7954

Can itertools.groupby use pd.NA?

Score: 1

Views: 39

Answers: 1

Read More
SteveS
SteveS

Reputation: 4040

Grouping Python dictionaries in hierarchical form with multiple keys?

Score: 0

Views: 217

Answers: 2

Read More
ThinkCode
ThinkCode

Reputation: 7961

How do I group by with name, preserve keys and names using itertools?

Score: 2

Views: 180

Answers: 2

Read More
Sushil Kokil
Sushil Kokil

Reputation: 157

pandas: list comprehension for creating column in existing dataframe

Score: 0

Views: 197

Answers: 1

Read More
jgg
jgg

Reputation: 831

How to get the number of instances in an itertools._grouper object?

Score: 0

Views: 154

Answers: 1

Read More
PreviousPage 1Next