Skip to content

Commit bf1f870

Browse files
author
y-p
committed
Merge pull request #5976 from y-p/PR_show_versions_to_the_top
ENH: make show_versions available in the top_level api
2 parents 63ca307 + a1a0a93 commit bf1f870

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CONTRIBUTING.md

+5
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ looking for a quick way to help out.
2626
>>> show_versions()
2727
```
2828

29+
and in 0.13.1 onwards:
30+
```python
31+
>>> pd.show_versions()
32+
```
33+
2934
- Explain what the expected behavior was, and what you saw instead.
3035

3136
#### Pull Requests

doc/source/release.rst

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ Improvements to existing features
8080
allow multiple axes to be used to operate on slabs of a ``Panel``
8181
- The ``ArrayFormatter``s for ``datetime`` and ``timedelta64`` now intelligently
8282
limit precision based on the values in the array (:issue:`3401`)
83+
- pd.show_versions() is now available for convenience when reporting issues.
8384
- perf improvements to Series.str.extract (:issue:`5944`)
8485
- perf improvments in ``dtypes/ftypes`` methods (:issue:`5968`)
8586

pandas/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@
4949
from pandas.tools.plotting import scatter_matrix, plot_params
5050
from pandas.tools.tile import cut, qcut
5151
from pandas.core.reshape import melt
52+
from pandas.util.print_versions import show_versions

0 commit comments

Comments
 (0)