Skip to content

Commit 32d79ef

Browse files
authored
DOC: ran blacken docs tool and checked output to improve formatting #36777 (#36802)
1 parent 9d0fa2e commit 32d79ef

File tree

4 files changed

+444
-382
lines changed

4 files changed

+444
-382
lines changed

doc/source/user_guide/10min.rst

+6-4
Original file line numberDiff line numberDiff line change
@@ -667,9 +667,10 @@ pandas can include categorical data in a :class:`DataFrame`. For full docs, see
667667

668668
.. ipython:: python
669669
670-
df = pd.DataFrame(
671-
{"id": [1, 2, 3, 4, 5, 6], "raw_grade": ["a", "b", "b", "a", "a", "e"]}
672-
)
670+
df = pd.DataFrame(
671+
{"id": [1, 2, 3, 4, 5, 6], "raw_grade": ["a", "b", "b", "a", "a", "e"]}
672+
)
673+
673674
674675
675676
Convert the raw grades to a categorical data type.
@@ -718,7 +719,8 @@ We use the standard convention for referencing the matplotlib API:
718719
.. ipython:: python
719720
720721
import matplotlib.pyplot as plt
721-
plt.close('all')
722+
723+
plt.close("all")
722724
723725
.. ipython:: python
724726

0 commit comments

Comments
 (0)