kieferk / dfply

dplyr-style piping operations for pandas dataframes
GNU General Public License v3.0
889 stars 103 forks source link

Feature: add pipe docs #34

Closed janfreyberg closed 6 years ago

janfreyberg commented 6 years ago

This makes the help that you get when you use shift tab for help in jupyter more informative

This should give people the right docstring when typing help(piped_function).

As an example, before, help(mutate) produced the docstring for pipe. Now it produces the docstring for mutate.

janfreyberg commented 6 years ago

@kieferk I opened a PR into the feature/collapsed-selection branch just because I wasn't sure where else to pull it into. I can change it to the master branch if you'd prefer that.

Let me know if you think this would be a helpful change at all, too!

kieferk commented 6 years ago

Yeah I'll merge it into the master branch instead since the collapsed selection branch is a dead branch now. I'll make sure its compatible with the recent changes. Thanks for doing this!

kieferk commented 6 years ago

Actually I'll just add this manually to the master branch and push it since it's a one-liner (rather than deal with the conflicts).