Skip to content
Snippets Groups Projects
Unverified Commit 497208f0 authored by French_Ball's avatar French_Ball Committed by GitHub
Browse files

doc: update dsintro.rst to remove a warring (#60507)

To solve a warning in issue DOC: DeprecationWarning on "Intro to data structures" user guide #60490.
I have checked other parts of the page, and there are no such warnings.
parent a36c44e1
No related branches found
No related tags found
No related merge requests found
...@@ -326,7 +326,7 @@ This case is handled identically to a dict of arrays. ...@@ -326,7 +326,7 @@ This case is handled identically to a dict of arrays.
.. ipython:: python .. ipython:: python
data = np.zeros((2,), dtype=[("A", "i4"), ("B", "f4"), ("C", "a10")]) data = np.zeros((2,), dtype=[("A", "i4"), ("B", "f4"), ("C", "S10")])
data[:] = [(1, 2.0, "Hello"), (2, 3.0, "World")] data[:] = [(1, 2.0, "Hello"), (2, 3.0, "World")]
pd.DataFrame(data) pd.DataFrame(data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment