8000 Boolean columns in original data frame in join · Issue #291 · pyranges/pyranges · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Boolean columns in original data frame in join #291

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
LudvigOlsen opened this issue Feb 17, 2023 · 3 comments
Closed

Boolean columns in original data frame in join #291

LudvigOlsen opened this issue Feb 17, 2023 · 3 comments

Comments

@LudvigOlsen
Copy link

Very cool package and nice with the givewell mention!

When the original data frame contains a bool column, join fails:

pr.PyRanges(
  pd.DataFrame({
      "Chromosome": "chr1",
      "Start": [0, 10, 20, 30],
      "End": [10, 20, 30, 40]
  })
).join(pr.PyRanges(
  pd.DataFrame({
      "Chromosome": "chr1",
      "Start": [5, 10, 20, 30],
      "End": [20, 20, 30, 40],
      "Site": [True, False, True, True],
  })
), how="right")

Exception: Unknown dtype bool in a column Site

Is there a reason for this or is it a bug?

@fairliereese
Copy link
Contributor

Having this issue as well!

@endrebak
Copy link
Collaborator
endrebak commented Apr 30, 2023 via email

@endrebak
Copy link
Collaborator
endrebak commented May 1, 2023

Should be fixed in 0.0.123 which is out now. If something is not as expected, feel free to reopen.

Thanks for reporting.

@endrebak endrebak closed this as completed May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0