You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/basics.rst
+6-8
Original file line number
Diff line number
Diff line change
@@ -1253,9 +1253,8 @@ namespace, and they are:
1253
1253
1254
1254
**Note:** developers can check out pandas/core/config.py for more info.
1255
1255
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 :
1259
1258
1260
1259
.. ipython:: python
1261
1260
@@ -1266,7 +1265,7 @@ so passing in a substring will work - as long as it is unambiguous :
1266
1265
get_option("display.max_rows")
1267
1266
1268
1267
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``:
1270
1269
1271
1270
.. ipython:: python
1272
1271
:okexcept:
@@ -1280,9 +1279,8 @@ However, the following will **not work** because it matches multiple option name
1280
1279
**Note:** Using this form of convenient shorthand may make your code break if new options with similar names are added in future versions.
1281
1280
1282
1281
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.
1286
1284
1287
1285
.. ipython:: python
1288
1286
@@ -1313,7 +1311,7 @@ All options also have a default value, and you can use the ``reset_option`` to d
1313
1311
get_option("display.max_rows")
1314
1312
1315
1313
1316
-
and you also set multiple options at once:
1314
+
It's also possible to reset multiple options at once:
0 commit comments