Skip to content

Commit 994ab31

Browse files
Backport PR #46124: DOC: Improve options.rst (#46160)
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent ce67f8d commit 994ab31

File tree

7 files changed

+59
-284
lines changed

7 files changed

+59
-284
lines changed
-10.5 KB
Binary file not shown.
-7.69 KB
Binary file not shown.
-5.22 KB
Binary file not shown.
-5.35 KB
Binary file not shown.

doc/source/user_guide/options.rst

+49-278
Large diffs are not rendered by default.

doc/source/whatsnew/v0.17.0.rst

+2-6
Original file line numberDiff line numberDiff line change
@@ -363,16 +363,12 @@ Some East Asian countries use Unicode characters its width is corresponding to 2
363363
.. ipython:: python
364364
365365
df = pd.DataFrame({u"国籍": ["UK", u"日本"], u"名前": ["Alice", u"しのぶ"]})
366-
df;
367-
368-
.. image:: ../_static/option_unicode01.png
366+
df
369367
370368
.. ipython:: python
371369
372370
pd.set_option("display.unicode.east_asian_width", True)
373-
df;
374-
375-
.. image:: ../_static/option_unicode02.png
371+
df
376372
377373
For further details, see :ref:`here <options.east_asian_width>`
378374

pandas/_config/config.py

+8
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ def __doc__(self):
289289
290290
Notes
291291
-----
292+
Please reference the :ref:`User Guide <options>` for more information.
293+
292294
The available options with its descriptions:
293295
294296
{opts_desc}
@@ -323,6 +325,8 @@ def __doc__(self):
323325
324326
Notes
325327
-----
328+
Please reference the :ref:`User Guide <options>` for more information.
329+
326330
The available options with its descriptions:
327331
328332
{opts_desc}
@@ -355,6 +359,8 @@ def __doc__(self):
355359
356360
Notes
357361
-----
362+
Please reference the :ref:`User Guide <options>` for more information.
363+
358364
The available options with its descriptions:
359365
360366
{opts_desc}
@@ -385,6 +391,8 @@ def __doc__(self):
385391
386392
Notes
387393
-----
394+
Please reference the :ref:`User Guide <options>` for more information.
395+
388396
The available options with its descriptions:
389397
390398
{opts_desc}

0 commit comments

Comments
 (0)