-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Join methods for WidePanel #41
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
Labels
Milestone
Comments
This got done by @jseabold on 9/8. Still need to implement multi-join |
dan-nadler
pushed a commit
to dan-nadler/pandas
that referenced
this issue
Sep 23, 2019
dan-nadler
pushed a commit
to dan-nadler/pandas
that referenced
this issue
Sep 23, 2019
fix pandas-dev#41 change the way to check for pandas version
3 tasks
Closed
3 tasks
3 tasks
3 tasks
3 tasks
This was referenced Oct 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
e.g.
def create_panels_join(a, b):
""" return a join of the 2 panels """
d = dict([ (i,(a[i].T.join(v.T)).T) for i, v in b.iteritems() ])
return p.WidePanel.fromDict(d)
this is a 'more' correct version, but have to assure that a[i] is not None
def create_panels_join(a, b):
""" return a join of the 2 panels """
items = set(a.items) + set(b.items)
WidePanel.fromDict(dict([ (i,(a[i].T.join(b[i].T)).T) for i in items ]))
The text was updated successfully, but these errors were encountered: