File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
137
137
pandas.errors.PyperclipWindowsException \
138
138
pandas.errors.UnsortedIndexError \
139
139
pandas.errors.UnsupportedFunctionCall \
140
- pandas.show_versions \
141
140
pandas.test \
142
141
pandas.NaT \
143
142
pandas.Timestamp.as_unit \
Original file line number Diff line number Diff line change @@ -114,6 +114,28 @@ def show_versions(as_json: str | bool = False) -> None:
114
114
* If str, it will be considered as a path to a file.
115
115
Info will be written to that file in JSON format.
116
116
* If True, outputs info in JSON format to the console.
117
+
118
+ Examples
119
+ --------
120
+ >>> pd.show_versions() # doctest: +SKIP
121
+ Your output may look something like this:
122
+ INSTALLED VERSIONS
123
+ ------------------
124
+ commit : 37ea63d540fd27274cad6585082c91b1283f963d
125
+ python : 3.10.6.final.0
126
+ python-bits : 64
127
+ OS : Linux
128
+ OS-release : 5.10.102.1-microsoft-standard-WSL2
129
+ Version : #1 SMP Wed Mar 2 00:30:59 UTC 2022
130
+ machine : x86_64
131
+ processor : x86_64
132
+ byteorder : little
133
+ LC_ALL : None
134
+ LANG : en_GB.UTF-8
135
+ LOCALE : en_GB.UTF-8
136
+ pandas : 2.0.1
137
+ numpy : 1.24.3
138
+ ...
117
139
"""
118
140
sys_info = _get_sys_info ()
119
141
deps = _get_dependency_info ()
You can’t perform that action at this time.
0 commit comments