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

CLN: Cleanup tests for .rank() #15658

Closed
wants to merge 2 commits into from
Closed

Conversation

rouzazari
Copy link
Contributor

@rouzazari rouzazari commented Mar 12, 2017

Moves rank tests for DataFrame and Series to respective test suites.

  1. Created new pandas/tests/series/test_rank and pandas/tests/frame/test_rank
  2. Moved tests from pandas/tests/test_stats to series and frame version of test_rank
  3. Moved rank tests from frame/test_analytics to frame/test_rank
  4. Moved rank tests from series/test_analytics to series/test_analytics

Work in Progress

1. Created new `pandas/tests/series/test_rank` and `pandas/tests/frame/test_rank`
2. Moved tests from `pandas/tests/test_stats` to `series` or `frame`
version of `test_rank`
3. move `rank` tests from `frame/test_analytics` to `frame/test_rank`
4. move `rank` tests from `series/test_analytics` to
`series/test_analytics`

See pandas-dev#15640
@codecov-io
Copy link

codecov-io commented Mar 12, 2017

Codecov Report

Merging #15658 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #15658      +/-   ##
==========================================
- Coverage   91.03%   91.01%   -0.03%     
==========================================
  Files         143      143              
  Lines       49382    49382              
==========================================
- Hits        44957    44945      -12     
- Misses       4425     4437      +12
Impacted Files Coverage Δ
pandas/io/gbq.py 25% <0%> (-58.34%)
pandas/tools/merge.py 93.61% <0%> (-0.34%)
pandas/core/common.py 90.96% <0%> (-0.34%)
pandas/core/frame.py 97.87% <0%> (-0.1%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5eac08a...d0a2abc. Read the comment docs.

@jreback jreback added Clean Testing pandas testing functions or related to the test suite labels Mar 12, 2017
@jreback jreback added this to the 0.20.0 milestone Mar 12, 2017
@jreback
Copy link
Contributor

jreback commented Mar 12, 2017

thanks!

@jreback jreback closed this in e0b37f9 Mar 12, 2017
AnkurDedania pushed a commit to AnkurDedania/pandas that referenced this pull request Mar 21, 2017
closes pandas-dev#15640

Author: Rouz Azari <rouz.azari@gmail.com>

Closes pandas-dev#15658 from rouzazari/GH15640 and squashes the following commits:

d0a2abc [Rouz Azari] Fixed linting error with datetime.datetime import
9580af0 [Rouz Azari] CLN: Cleanup tests for .rank()
mattip pushed a commit to mattip/pandas that referenced this pull request Apr 3, 2017
closes pandas-dev#15640

Author: Rouz Azari <rouz.azari@gmail.com>

Closes pandas-dev#15658 from rouzazari/GH15640 and squashes the following commits:

d0a2abc [Rouz Azari] Fixed linting error with datetime.datetime import
9580af0 [Rouz Azari] CLN: Cleanup tests for .rank()
rouzazari added a commit to rouzazari/pandas that referenced this pull request Apr 5, 2017
1. Moved tests to series-/frame-level test_rank (from test_stats) per pandas-dev#15658.
2. Parametrize `series/test_rank` for `pct=True`.
rouzazari added a commit to rouzazari/pandas that referenced this pull request May 22, 2017
1. Moved tests to series-/frame-level test_rank (from test_stats) per pandas-dev#15658.
2. Parametrize `series/test_rank` for `pct=True`.
gfyoung pushed a commit to rouzazari/pandas that referenced this pull request Mar 2, 2018
1. Moved tests to series-/frame-level test_rank (from test_stats) per pandas-dev#15658.
2. Parametrize `series/test_rank` for `pct=True`.
gfyoung pushed a commit to rouzazari/pandas that referenced this pull request Mar 2, 2018
1. Moved tests to series-/frame-level test_rank (from test_stats) per pandas-dev#15658.
2. Parametrize `series/test_rank` for `pct=True`.
gfyoung pushed a commit to rouzazari/pandas that referenced this pull request Mar 8, 2018
1. Moved tests to series-/frame-level test_rank (from test_stats) per pandas-dev#15658.
2. Parametrize `series/test_rank` for `pct=True`.
gfyoung pushed a commit to rouzazari/pandas that referenced this pull request Mar 8, 2018
1. Moved tests to series-/frame-level test_rank (from test_stats) per pandas-dev#15658.
2. Parametrize `series/test_rank` for `pct=True`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLN: cleanup rank tests
3 participants