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

Cannot append() number 0 to instance of Series #486

Closed
BowTiedAztec opened this issue Aug 12, 2022 · 0 comments · Fixed by #487
Closed

Cannot append() number 0 to instance of Series #486

BowTiedAztec opened this issue Aug 12, 2022 · 0 comments · Fixed by #487

Comments

@BowTiedAztec
Copy link
Contributor

Describe the bug
If you attempt to append() the value 0 to a Series, it fails with error:

Param Error: newValues cannot be null or undefined

Any other real value (positive or negative) seems to work fine.

To Reproduce

Simply try this:

new Series([1, 2, 3]).append(0, 3);

If you change the above to the following, it works fine:

new Series([1, 2, 3]).append(0.1, 3);

For now I am working around this by appending 0.0001 to my series, but it's obviously not ideal.

risenW added a commit that referenced this issue Aug 19, 2022
Allow Series.append() to use zero, fixes #486
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 a pull request may close this issue.

1 participant