Skip to content

Commit 193beb3

Browse files
author
y-p
committed
DOC: various editing
1 parent b931f16 commit 193beb3

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

doc/source/basics.rst

+6-8
Original file line numberDiff line numberDiff line change
@@ -1253,9 +1253,8 @@ namespace, and they are:
12531253

12541254
**Note:** developers can check out pandas/core/config.py for more info.
12551255

1256-
1257-
but all of the functions above accept a regexp pattern (``re.search`` style) as argument,
1258-
so passing in a substring will work - as long as it is unambiguous :
1256+
All of the functions above accept a regexp pattern (``re.search`` style) as an argument,
1257+
and so passing in a substring will work - as long as it is unambiguous :
12591258

12601259
.. ipython:: python
12611260
@@ -1266,7 +1265,7 @@ so passing in a substring will work - as long as it is unambiguous :
12661265
get_option("display.max_rows")
12671266
12681267
1269-
However, the following will **not work** because it matches multiple option names, e.g.``display.max_colwidth``, ``display.max_rows``, ``display.max_columns``:
1268+
The following will **not work** because it matches multiple option names, e.g.``display.max_colwidth``, ``display.max_rows``, ``display.max_columns``:
12701269

12711270
.. ipython:: python
12721271
:okexcept:
@@ -1280,9 +1279,8 @@ However, the following will **not work** because it matches multiple option name
12801279
**Note:** Using this form of convenient shorthand may make your code break if new options with similar names are added in future versions.
12811280

12821281

1283-
The docstrings of all the functions document the available options, but you can also get a
1284-
list of available options and their descriptions with ``describe_option``. When called
1285-
with no argument ``describe_option`` will print out descriptions for all available options.
1282+
You can get a list of available options and their descriptions with ``describe_option``. When called
1283+
with no argument ``describe_option`` will print out the descriptions for all available options.
12861284

12871285
.. ipython:: python
12881286
@@ -1313,7 +1311,7 @@ All options also have a default value, and you can use the ``reset_option`` to d
13131311
get_option("display.max_rows")
13141312
13151313
1316-
and you also set multiple options at once:
1314+
It's also possible to reset multiple options at once:
13171315

13181316
.. ipython:: python
13191317

0 commit comments

Comments
 (0)