Skip to content

Commit 2ee9180

Browse files
authored
doc: update dsintro.rst to remove a warring
To solve a warning in issue DOC: DeprecationWarning on "Intro to data structures" user guide pandas-dev#60490. I have checked other parts of the page, and there are no such warnings.
1 parent a36c44e commit 2ee9180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/dsintro.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ This case is handled identically to a dict of arrays.
326326

327327
.. ipython:: python
328328
329-
data = np.zeros((2,), dtype=[("A", "i4"), ("B", "f4"), ("C", "a10")])
329+
data = np.zeros((2,), dtype=[("A", "i4"), ("B", "f4"), ("C", "S10")])
330330
data[:] = [(1, 2.0, "Hello"), (2, 3.0, "World")]
331331
332332
pd.DataFrame(data)

0 commit comments

Comments
 (0)