Skip to content

Commit 8bc5245

Browse files
meeseeksmachineDominikBerger01mroeschke
authored
Backport PR #53398 on branch 2.0.x (fix documentation build error in basics.rst) (#53456)
* Backport PR #53398: fix documentation build error in basics.rst * Update doc/source/user_guide/basics.rst --------- Co-authored-by: Dominik Berger <[email protected]> Co-authored-by: Matthew Roeschke <[email protected]>
1 parent 38b717b commit 8bc5245

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"),
21482148
}
21492149
)
21502150
df2

0 commit comments

Comments
 (0)