Skip to content

Instantly share code, notes, and snippets.

@TomAugspurger
Created June 21, 2017 16:41
Show Gist options
  • Save TomAugspurger/a932b3591346b898d6816a5efc2bc5ad to your computer and use it in GitHub Desktop.
Save TomAugspurger/a932b3591346b898d6816a5efc2bc5ad to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Jeeva-G
Copy link

Jeeva-G commented Jun 22, 2017

Hi. This didn't work as expected. My type(other) shows that is passing a series. Even if I tried to convert that to_dict(), this will output 3-tuple with dictionary of key in it. However that is the index of the test2 record within the group, not the original record. Instead is there a way to pass the ID column of test2 as well to the function and return that as part of the function output?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment