File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ consequences to your code (for example when checking for the ``.dtype`` being
57
57
object dtype). To allow testing it in advance of the pandas 3.0 release, this
58
58
future dtype inference logic can be enabled in pandas 2.3 with:
59
59
60
- .. code-block :: ipython
60
+ .. code-block :: python
61
61
62
62
pd.options.future.infer_string = True
63
63
@@ -89,15 +89,15 @@ The new behavioral semantics are explained in more detail in the
89
89
90
90
The new behavior can be enabled since pandas 2.0 with the following option:
91
91
92
- .. code-block :: ipython
92
+ .. code-block :: python
93
93
94
94
pd.options.mode.copy_on_write = True
95
95
96
96
Some of the behaviour changes allow a clear deprecation, like the changes in
97
97
chained assignment. Other changes are more subtle and thus, the warnings are
98
98
hidden behind an option that can be enabled since pandas 2.2:
99
99
100
- .. code-block :: ipython
100
+ .. code-block :: python
101
101
102
102
pd.options.mode.copy_on_write = " warn"
103
103
You can’t perform that action at this time.
0 commit comments