Skip to content

Conversation

JosephWagner
Copy link
Contributor

@JosephWagner JosephWagner commented May 10, 2017

@codecov
Copy link

codecov bot commented May 10, 2017

Codecov Report

Merging #16317 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16317      +/-   ##
==========================================
- Coverage   90.39%   90.37%   -0.02%     
==========================================
  Files         161      161              
  Lines       50863    50863              
==========================================
- Hits        45978    45969       -9     
- Misses       4885     4894       +9
Flag Coverage Δ
#multiple 88.16% <0%> (-0.01%) ⬇️
#single 40.33% <100%> (-0.11%) ⬇️
Impacted Files Coverage Δ
pandas/io/pytables.py 93.1% <100%> (+0.04%) ⬆️
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/core/common.py 90.68% <0%> (-0.35%) ⬇️
pandas/core/frame.py 97.59% <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 81aa70c...7c461b2. Read the comment docs.

@codecov
Copy link

codecov bot commented May 10, 2017

Codecov Report

Merging #16317 into master will increase coverage by 0.35%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16317      +/-   ##
==========================================
+ Coverage   90.39%   90.75%   +0.35%     
==========================================
  Files         161      161              
  Lines       50863    51071     +208     
==========================================
+ Hits        45978    46349     +371     
+ Misses       4885     4722     -163
Flag Coverage Δ
#multiple 88.59% <0%> (+0.43%) ⬆️
#single 40.16% <100%> (-0.28%) ⬇️
Impacted Files Coverage Δ
pandas/io/pytables.py 93.11% <100%> (+0.04%) ⬆️
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/io/formats/terminal.py 16.43% <0%> (-31.39%) ⬇️
pandas/plotting/_converter.py 63.23% <0%> (-1.82%) ⬇️
pandas/io/feather_format.py 85.71% <0%> (-0.96%) ⬇️
pandas/core/categorical.py 95.5% <0%> (-0.36%) ⬇️
pandas/core/indexes/category.py 98.18% <0%> (-0.31%) ⬇️
pandas/io/common.py 69.91% <0%> (-0.18%) ⬇️
pandas/core/indexes/multi.py 96.56% <0%> (-0.17%) ⬇️
pandas/core/frame.py 97.66% <0%> (-0.03%) ⬇️
... and 30 more

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 81aa70c...6d6764f. Read the comment docs.

@@ -4186,6 +4186,20 @@ def test_start_stop_table(self):
expected = df.loc[30:40, ['A']]
tm.assert_frame_equal(result, expected)

def test_start_stop_multiple(self):

Copy link
Contributor

Choose a reason for hiding this comment

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

can you add the issue number as a comment

Copy link
Contributor

Choose a reason for hiding this comment

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

can you add the issue number

result = store.select_as_multiple(['selector', 'data'],
selector='selector', start=0,
stop=1)
expected = df[['foo', 'bar']].iloc[[0]]
Copy link
Contributor

Choose a reason for hiding this comment

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

df.loc[[0], ['foo', 'bar']] is more idiomatic

@@ -82,6 +82,7 @@ Indexing
I/O
^^^

- Bug in ``HDFStore.select_as_multiple()`` where start/stop arguments were not respected (:issue:`16209`)
Copy link
Contributor

Choose a reason for hiding this comment

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

you can put this in 0.20.2

Copy link
Contributor

Choose a reason for hiding this comment

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

can you move this

@jreback jreback added Bug IO HDF5 read_hdf, HDFStore labels May 10, 2017
@jreback jreback added this to the 0.20.2 milestone May 10, 2017
@jreback
Copy link
Contributor

jreback commented May 10, 2017

minor comments, lgtm. ping on green.

@TomAugspurger
Copy link
Contributor

@JosephWagner if you can update according to Jeff's comments we can get this in for 0.20.2 (end of the week). OK to leave for 0.21.0 though.

@jreback
Copy link
Contributor

jreback commented May 30, 2017

this lgtm. Though if you can update to comments can merge for 0.20.2.

@JosephWagner
Copy link
Contributor Author

Sorry for the late response. I've updated the PR as specified. Let me know if more changes are needed!

@jreback jreback merged commit 03d44f3 into pandas-dev:master May 31, 2017
@jreback
Copy link
Contributor

jreback commented May 31, 2017

thanks!

TomAugspurger pushed a commit to TomAugspurger/pandas that referenced this pull request Jun 1, 2017
TomAugspurger pushed a commit that referenced this pull request Jun 4, 2017
yarikoptic added a commit to neurodebian/pandas that referenced this pull request Jul 12, 2017
Version 0.20.2

* tag 'v0.20.2': (68 commits)
  RLS: v0.20.2
  DOC: Update release.rst
  DOC: Whatsnew fixups (pandas-dev#16596)
  ERRR: Raise error in usecols when column doesn't exist but length matches (pandas-dev#16460)
  BUG: convert numpy strings in index names in HDF pandas-dev#13492 (pandas-dev#16444)
  PERF: vectorize _interp_limit (pandas-dev#16592)
  DOC: whatsnew 0.20.2 edits (pandas-dev#16587)
  API: Make is_strictly_monotonic_* private (pandas-dev#16576)
  BUG: reimplement MultiIndex.remove_unused_levels (pandas-dev#16565)
  Strictly monotonic (pandas-dev#16555)
  ENH: add .ngroup() method to groupby objects (pandas-dev#14026) (pandas-dev#14026)
  fix linting
  BUG: Incorrect handling of rolling.cov with offset window (pandas-dev#16244)
  BUG: select_as_multiple doesn't respect start/stop kwargs GH16209 (pandas-dev#16317)
  return empty MultiIndex for symmetrical difference on equal MultiIndexes (pandas-dev#16486)
  BUG: Bug in .resample() and .groupby() when aggregating on integers (pandas-dev#16549)
  BUG: Fixed tput output on windows (pandas-dev#16496)
  Strictly monotonic (pandas-dev#16555)
  BUG: fixed wrong order of ordered labels in pd.cut()
  BUG: Fixed to_html ignoring index_names parameter
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO HDF5 read_hdf, HDFStore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: HDFStore.select_as_multiple doesn't respect start/stop kwargs
3 participants