Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix issue #79#108

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
MoZhonglin wants to merge1 commit intorougier:master
base:master
Choose a base branch
Loading
fromMoZhonglin:master
Open

Conversation

@MoZhonglin
Copy link

Settingnp.set_printoption'sthreshold param tonp.nan is no longer allowed and should usesys.maxsize instead:

/anaconda3/lib/python3.7/site-packages/numpy/core/arrayprint.py in _make_options_dict(precision, threshold, edgeitems, linewidth, suppress, nanstr, infstr, sign, formatter, floatmode, legacy)
91 # forbid the bad threshold arg suggested by stack overflow, gh-12351
92 if not isinstance(threshold, numbers.Number) or np.isnan(threshold):
---> 93 raise ValueError("threshold must be numeric and non-NAN, try "
94 "sys.maxsize for untruncated representation")
95 return options

ValueError: threshold must be numeric and non-NAN, try sys.maxsize for untruncated representation

@MoZhonglinMoZhonglin mentioned this pull requestApr 10, 2020
@MoZhonglin
Copy link
Author

The issue has been fixed inexercises100.ktx and all the notebook files are regenerated.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@MoZhonglin

[8]ページ先頭

©2009-2025 Movatter.jp