Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Custom aggregations on GroupBy dataframes

Abierto
#388 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

Start at the GroupBy dataframe API and compare it with the referenced streamz DataFrame aggregations documentation. Determine how a custom aggregation such as Mean() should work with grouping keys, then identify the relevant implementation and tests needed to define and verify the expected behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hello,

I just started using your package and I find it really great!

However I cannot find a direct way of computing a custom aggregation on a GroupBy dataframe, something like:

sdf.groupby('name').aggregate(Mean())

in the spirit of https://streamz.readthedocs.io/en/latest/dataframes.html#dataframe-aggregations
Am I missing something?

Of course I can do the groupby operation inside the aggregation and keep all the keys inside the state but it would be very convenient if the framework could handle this for me

Thanks

Lenguaje dominante
Python
Estrellas
1.3k
Forks
149
Merge medio
17 h 39 min
PR fusionados (30 d)
1

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de python-streamz/streamz

Todos los issues de python-streamz/streamz

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.