Skip to content

Commit 4c75e4b

Browse files
DominikBerger01meeseeksmachine
authored andcommitted
Backport PR pandas-dev#53398: fix documentation build error in basics.rst
1 parent ae0dbef commit 4c75e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/basics.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2144,7 +2144,7 @@ different numeric dtypes will **NOT** be combined. The following example will gi
21442144
{
21452145
"A": pd.Series(np.random.randn(8), dtype="float16"),
21462146
"B": pd.Series(np.random.randn(8)),
2147-
"C": pd.Series(np.array(np.random.randn(8), dtype="uint8")),
2147+
"C": pd.Series(np.random.randint(0, 255, size=8), dtype="uint8"), # [0,255] (range of uint8)
21482148
}
21492149
)
21502150
df2

0 commit comments

Comments
 (0)