-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
applymap and misc/float columns #2909
Comments
print the resulting dtypes of these, you are seeing conversion in the 2nd to float64
Here is the what applymap does (with the non-conversion operater set to 0
|
Is that an intended API change? This used to work (aka the dtype was not changed) in former versions as the branch in statsmodels used to work. |
do you know what version did it work on? |
I remember that I used this branch around christmas/new year. this is a test with commit 1c32ebf
|
was a bug fyi....convert_objects when passed convert_numeric=True will do things like this this is set by default to False (I had accidently left it as True), this is a user initiated action this is new in 0.11-dev |
Thanks! I can confirm that applying this commit fixes the problem in statsmodels! |
great.....will get around to merging soon |
…pes in applymap (#2909) DOC: typos in RELEASE.rst
BUG: incorrect default in df.convert_objects was converting object types (#2909)
This works as expected in latest pandas:
This does not (note the float "1." instead if "1"):
This is a problem in statsmodels/statsmodels#636
pandas.version -> '0.11.0.dev-14a04dd'
The text was updated successfully, but these errors were encountered: