Skip to content

DOC: DeprecationWarning on "Intro to data structures" user guide #60490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
yavuz-guclu opened this issue Dec 4, 2024 · 3 comments · Fixed by #60507
Closed
1 task done

DOC: DeprecationWarning on "Intro to data structures" user guide #60490

yavuz-guclu opened this issue Dec 4, 2024 · 3 comments · Fixed by #60507
Assignees
Labels
Docs Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@yavuz-guclu
Copy link

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/user_guide/dsintro.html

Documentation problem

I got warning at In [48]: data = np.zeros((2,), dtype=[("A", "i4"), ("B", "f4"), ("C", "a10")]). Warning is

"DeprecationWarning: Data type alias 'a' was deprecated in NumPy 2.0. Use the 'S' alias instead."

Suggested fix for documentation

Following the warning's instructions, I changed ("C","a10") to ("C","S10"), and the warning resolved.

@yavuz-guclu yavuz-guclu added Docs Needs Triage Issue that has not been reviewed by a pandas team member labels Dec 4, 2024
@asdkfjsd
Copy link
Contributor

asdkfjsd commented Dec 5, 2024

Hello!Have you already submitted a pull request? If not, I'd be happy to help resolve this issue.

@yavuz-guclu
Copy link
Author

Hello, no I didn't. You can create one

@asdkfjsd
Copy link
Contributor

asdkfjsd commented Dec 5, 2024

take

asdkfjsd added a commit to asdkfjsd/pandasForNew that referenced this issue Dec 6, 2024
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.
mroeschke pushed a commit that referenced this issue Dec 6, 2024
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.
KevsterAmp pushed a commit to KevsterAmp/pandas that referenced this issue Mar 12, 2025
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants