Skip to content

TST: Add numeric coercion tests #12841

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
wants to merge 1 commit into from
Closed

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented Apr 9, 2016

Because dtype coercion affects to lots of functions, would like to fix in the following steps. The behavior which looks incorrect are commented with TODO_GH12747

1(this PR) Add numeric related tests to clarify the current behaviour (and future change)
2. Fix numeric coercion.
3. Add datetime-like tests.
4. Fix datetime-like coercion.

@sinhrks sinhrks added Testing pandas testing functions or related to the test suite Dtype Conversions Unexpected or buggy dtype conversions Numeric Operations Arithmetic, Comparison, and Logical operations labels Apr 9, 2016
@sinhrks sinhrks added this to the 0.18.1 milestone Apr 9, 2016
@@ -1820,3 +1820,350 @@ def test_multilevel_preserve_name(self):
result2 = s.ix['foo']
self.assertEqual(result.name, s.name)
self.assertEqual(result2.name, s.name)

Copy link
Contributor

Choose a reason for hiding this comment

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

why don't we put these in tests/indexing/test_coercion.py?

@sinhrks sinhrks force-pushed the dtype_tests branch 3 times, most recently from a028ef1 to 8b1576c Compare April 10, 2016 01:41
@sinhrks
Copy link
Member Author

sinhrks commented Apr 10, 2016

@jreback OK, created test_coercion.py.

@jreback jreback closed this in c278d41 Apr 10, 2016
@jreback
Copy link
Contributor

jreback commented Apr 10, 2016

thanks!

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 Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants