Skip to content
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

Fix deprecated syntax in numpy #4

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

devnjw
Copy link
Contributor

@devnjw devnjw commented Apr 8, 2024

Problem

Since numpy version 1.20, np.str has been deprecated. [document]

Solution

As the numpy documentation says, np.str is the same as str. I have replaced all np.str with str.

another ref: microsoft/qlib#1507

@ZFTurbo ZFTurbo merged commit f725ed8 into ZFTurbo:master Apr 8, 2024
@devnjw
Copy link
Contributor Author

devnjw commented Apr 8, 2024

@ZFTurbo
Thank you for your quick review. Could you please release it to pypi?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants