machow / siuba

Python library for using dplyr like syntax with pandas and SQL
https://siuba.org
MIT License
1.16k stars 49 forks source link

do not allow mutating grouping columns #111

Open machow opened 5 years ago

machow commented 5 years ago

This should throw an error

from siuba.data import mtcars
from siuba import _, group_by, transmute
mtcars >> group_by(_.cyl) >> transmute(cyl = _.cyl + 1),

Instead does terrible things

image

machow commented 5 years ago

For timeboxing--recommend splitting by pandas and SQL