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

do not upcast results to float64 when float32 scalar *+/- float64 array #12559

Closed
wants to merge 1 commit into from

Conversation

jennolsen84
Copy link
Contributor

@@ -918,6 +918,9 @@ assignments are valid for multi-line expressions.
g = f / 2.0""", inplace=True)
df

``eval``'s upcasting rules for float32 types have also been updated to be more
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to 0.18.1

@jreback jreback added Dtype Conversions Unexpected or buggy dtype conversions Numeric Operations Arithmetic, Comparison, and Logical operations labels Mar 8, 2016
@jreback
Copy link
Contributor

jreback commented May 7, 2016

can you rebase / update & move whatsnew to 0.18.2

@jreback
Copy link
Contributor

jreback commented May 25, 2016

can you rebase / update?

@jennolsen84
Copy link
Contributor Author

yes, I will try to find some time over the weekend to do this.

@codecov-io
Copy link

codecov-io commented May 27, 2016

Current coverage is 84.22%

Merging #12559 into master will increase coverage by <.01%

@@             master     #12559   diff @@
==========================================
  Files           138        138          
  Lines         50667      50680    +13   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits          42672      42683    +11   
- Misses         7995       7997     +2   
  Partials          0          0          

Powered by Codecov. Last updated by af4ed0f...2346761

@jennolsen84
Copy link
Contributor Author

@jreback green

@jennolsen84
Copy link
Contributor Author

actually, let me see if I can increase the code coverage

@@ -89,6 +89,9 @@ Other enhancements

- ``pd.read_html()`` has gained support for the ``decimal`` option (:issue:`12907`)

- ``eval``'s upcasting rules for float32 types have also been updated to be more
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double-backticks around float32 (and float64)

no space after the colon (:issue:12388)

@jreback
Copy link
Contributor

jreback commented May 27, 2016

looks good. some style points. ping when change / green.

@jennolsen84
Copy link
Contributor Author

@jreback green

@jreback jreback closed this in cc1025a May 30, 2016
@jreback
Copy link
Contributor

jreback commented May 30, 2016

thanks @jennolsen84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dtype Conversions Unexpected or buggy dtype conversions Numeric Operations Arithmetic, Comparison, and Logical operations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pd.eval division operation upcasts float32 to float64
3 participants