Skip to content
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

BUG: Raise TypeError when converting mixed-type DataFrames, use proper NA types, close #1282 #1283

Closed
wants to merge 6 commits into from

Conversation

lbeltrame
Copy link
Contributor

This pull request attempts to fix two problems:

  1. The use of improper NA types in R, which can cause issues when converting to matrices (NA_Logical gets converted to 0)
  2. Improper casting when converting a mixed-type DataFrame to matrix, which will cause all sorts of problems: thus mixed types DataFrame raise a TypeError exception now.

Added a bit to the unit tests so that I know the thing works, but these (for pandas 0.9) needs to be ported to unittest/nose so that it can be run with the other tests.
#1282

@wesm wesm closed this May 23, 2012
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

Successfully merging this pull request may close these issues.

2 participants