-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Allow for custom variable/value column names when melt()'ing #3649
Conversation
… and value names of the resulting DataFrame. Also fix indentation in melt() example to reflect actual output.
can u add a test and release notes mention (doc string example in v0.11.1 if u want too) |
can you connect travis? see CONTRIBUTING.md for instructions.... and for a couple of the tests can you do something like:
to actually compare values and indicies (in this case its actually important as you are provide similar to how test_pairs tests things (but doesn't have to be extensive....just a couple e.g. empty frame thanks |
Thanks for your helpful feedback! I'm completely new to Python, testing, and Git(hub) :) I will try to improve my contribution. Stay tuned! |
@hoechenberger see if you can connect travis on this....thxs |
I will look into this tomorrow, thanks! :) |
Now I'm wondering whether, as part of a good practice, I should create my test DataFrames manually or via methods from pandas.util.testing? I see both methods used across the pandas testing code... |
you do either - whatever works for testing te feature u r doing |
I think I sort of srewed the branching here. But eventually got things merged back into the master branch. Travis-CI is currently testing the code, I'm excited. |
to avoid pulling in the merge to this branch, do this:
then
updates master
will pull in any changes w/o creating a merge commit separately, pls rebase this to 1 or more commits (and you can eliminate the merge commit too)
remove the line of the merge branches when done
will replace all of the commits on this branch with the new ones |
Thanks! I think it's finally in a useful shape, no? :) |
yes...that looks good.....once travis finishes will merge thanks git is an animal...once you tame it, its your friend :) |
Great, thanks! I'm crossing my fingers ;) |
ENH: Allow for custom variable/value column names when melt()'ing
ENH, CLN: When melt()'ing, allow for specification of custom variable and value names of the resulting DataFrame. Also fix indentation in melt() example to reflect actual output.