Skip to content

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

Closed
wesm opened this issue May 1, 2011 · 1 comment
Closed

Join methods for WidePanel #41

wesm opened this issue May 1, 2011 · 1 comment
Milestone

Comments

@wesm
Copy link
Member

wesm commented May 1, 2011

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 ]))

@wesm
Copy link
Member Author

wesm commented Jan 5, 2012

This got done by @jseabold on 9/8. Still need to implement multi-join

@wesm wesm closed this as completed Jan 5, 2012
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
@ChristofKaufmann ChristofKaufmann mentioned this issue Sep 3, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant