CLN: ASV HDFStore benchmark
State: closed

- Ran flake8 and replaced star imports

An `HDFStore.info()` benchmark was added in #16666, but the benchmark fails (even on master). I can create a new issue for this unless there's an obvious fix I am not seeing. 

```
asv dev -b ^hdfstore_bench· Discovering benchmarks
· Running 18 total benchmarks (1 commits * 1 environments * 18 benchmarks)
[  0.00%] ·· Building for existing-py_home_matt_anaconda_envs_pandas_dev_bin_python
[  0.00%] ·· Benchmarking existing-py_home_matt_anaconda_envs_pandas_dev_bin_python
[  5.56%] ··· Running hdfstore_bench.HDF5.time_query_store_table                                       22.3ms
[ 11.11%] ··· Running hdfstore_bench.HDF5.time_query_store_table_wide                                  33.8ms
[ 16.67%] ··· Running hdfstore_bench.HDF5.time_read_store                                              11.6ms
[ 22.22%] ··· Running hdfstore_bench.HDF5.time_read_store_mixed                                        24.3ms
[ 27.78%] ··· Running hdfstore_bench.HDF5.time_read_store_table                                        16.3ms
[ 33.33%] ··· Running hdfstore_bench.HDF5.time_read_store_table_mixed                                  34.6ms
[ 38.89%] ··· Running hdfstore_bench.HDF5.time_read_store_table_wide                                   38.3ms
[ 44.44%] ··· Running hdfstore_bench.HDF5.time_store_info                                              failed
[ 44.44%] ····· Traceback (most recent call last):
                  File "/home/matt/anaconda/envs/pandas_dev/lib/python2.7/site-packages/asv/benchmark.py", line 818, in <module>
                    commands[mode](args)
                  File "/home/matt/anaconda/envs/pandas_dev/lib/python2.7/site-packages/asv/benchmark.py", line 795, in main_run
                    result = benchmark.do_run()
                  File "/home/matt/anaconda/envs/pandas_dev/lib/python2.7/site-packages/asv/benchmark.py", line 349, in do_run
                    return self.run(*self._current_params)
                  File "/home/matt/anaconda/envs/pandas_dev/lib/python2.7/site-packages/asv/benchmark.py", line 424, in run
                    samples, number = self.benchmark_timing(timer, repeat, warmup_time, number=number)
                  File "/home/matt/anaconda/envs/pandas_dev/lib/python2.7/site-packages/asv/benchmark.py", line 471, in benchmark_timing
                    timing = timer.timeit(number)
                  File "/home/matt/anaconda/envs/pandas_dev/lib/python2.7/timeit.py", line 202, in timeit
                    timing = self.inner(it, self.timer)
                  File "/home/matt/anaconda/envs/pandas_dev/lib/python2.7/timeit.py", line 100, in inner
                    _func()
                  File "/home/matt/Projects/pandas-mroeschke/asv_bench/benchmarks/hdfstore_bench.py", line 101, in time_store_info
                    self.store.info()
                  File "/home/matt/anaconda/envs/pandas_dev/lib/python2.7/site-packages/pandas/io/pytables.py", line 495, in __getattr__
                    (type(self).__name__, name))
                AttributeError: 'HDFStore' object has no attribute 'info'

[ 50.00%] ··· Running hdfstore_bench.HDF5.time_store_repr                                              46.1ms
[ 55.56%] ··· Running hdfstore_bench.HDF5.time_store_str                                               45.2ms
[ 61.11%] ··· Running hdfstore_bench.HDF5.time_write_store                                             12.5ms
[ 66.67%] ··· Running hdfstore_bench.HDF5.time_write_store_mixed                                       28.3ms
[ 72.22%] ··· Running hdfstore_bench.HDF5.time_write_store_table                                       41.2ms
[ 77.78%] ··· Running hdfstore_bench.HDF5.time_write_store_table_dc                                     329ms
[ 83.33%] ··· Running hdfstore_bench.HDF5.time_write_store_table_mixed                                 52.2ms
[ 88.89%] ··· Running hdfstore_bench.HDF5.time_write_store_table_wide                                   123ms
[ 94.44%] ··· Running hdfstore_bench.HDF5Panel.time_read_store_table_panel                             45.6ms
[100.00%] ··· Running hdfstore_bench.HDF5Panel.time_write_store_table_panel                            76.3ms
```

Labels:
name: Clean
name: Benchmark
description: Performance (ASV) benchmarks

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/18641?src=pr&el=h1) Report
> Merging [#18641](https://codecov.io/gh/pandas-dev/pandas/pull/18641?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/13f6267207dd1f140b12d7718277508eff5c1efb?src=pr&el=desc) will **decrease** coverage by `0.01%`.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/18641/graphs/tree.svg?src=pr&token=eZ4WkYLtcO&width=650&height=150)](https://codecov.io/gh/pandas-dev/pandas/pull/18641?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #18641      +/-   ##
==========================================
- Coverage   91.59%   91.57%   -0.02%     
==========================================
  Files         153      153              
  Lines       51221    51221              
==========================================
- Hits        46917    46908       -9     
- Misses       4304     4313       +9
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `89.44% <ø> (ø)` | :arrow_up: |
| #single | `40.67% <ø> (-0.11%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/18641?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/io/gbq.py](https://codecov.io/gh/pandas-dev/pandas/pull/18641/diff?src=pr&el=tree#diff-cGFuZGFzL2lvL2dicS5weQ==) | `25% <0%> (-58.34%)` | :arrow_down: |
| [pandas/core/frame.py](https://codecov.io/gh/pandas-dev/pandas/pull/18641/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZnJhbWUucHk=) | `97.81% <0%> (-0.1%)` | :arrow_down: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/18641?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/18641?src=pr&el=footer). Last update [13f6267...db44794](https://codecov.io/gh/pandas-dev/pandas/pull/18641?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

Hello @mroeschke! Thanks for updating the PR.



 - In the file [`asv_bench/benchmarks/io_bench.py`](https://github.com/pandas-dev/pandas/blob/db447949617dee266ac7668c3d78544b875de664/asv_bench/benchmarks/io_bench.py), following are the PEP8 issues :

> [Line 212:80](https://github.com/pandas-dev/pandas/blob/db447949617dee266ac7668c3d78544b875de664/asv_bench/benchmarks/io_bench.py#L212): [E501](https://duckduckgo.com/?q=pep8%20E501) line too long (89 > 79 characters)

 - In the file [`asv_bench/benchmarks/pandas_vb_common.py`](https://github.com/pandas-dev/pandas/blob/db447949617dee266ac7668c3d78544b875de664/asv_bench/benchmarks/pandas_vb_common.py), following are the PEP8 issues :

> [Line 34:9](https://github.com/pandas-dev/pandas/blob/db447949617dee266ac7668c3d78544b875de664/asv_bench/benchmarks/pandas_vb_common.py#L34): [E722](https://duckduckgo.com/?q=pep8%20E722) do not use bare except'
> [Line 35:69](https://github.com/pandas-dev/pandas/blob/db447949617dee266ac7668c3d78544b875de664/asv_bench/benchmarks/pandas_vb_common.py#L35): [W291](https://duckduckgo.com/?q=pep8%20W291) trailing whitespace


Thanks for the guidance, all. Created a new base class, `BaseIO`, for `hdfstore_bench.py` and `io_bench.py` with a `remove` method for files. Will take care of the pep8speaks comments in future PRs. 
Thanks!