dodger487 / dplython

dplyr for python
MIT License
763 stars 52 forks source link

Separate rows #82

Open bleearmstrong opened 8 years ago

bleearmstrong commented 8 years ago

Separate rows based on delimiter (see separate_rows in https://cran.r-project.org/web/packages/tidyr/tidyr.pdf)

Has the same behavior as the tidyr version, but this has one extra feature, a strip option (no strip, right strip, left strip, full strip; full strip seems most useful but there are probably some use cases for alternate strippings; also, should full strip be default behavior? I didn't want to make any assumptions, and a strip would be destructive to data)