FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixed error: File format not supported! while trying to reassign a column. by junduck · Pull Request #681 · javascriptdata/danfojs · GitHub

Fixed error: File format not supported! while trying to reassign a column. - #681

Open
junduck wants to merge 1 commit into
javascriptdata:devfrom
junduck:fix-616
Open

Fixed error: File format not supported! while trying to reassign a column.#681
junduck wants to merge 1 commit into
javascriptdata:devfrom
junduck:fix-616

Conversation

junduck commented Nov 12, 2025

Copy link
Copy Markdown

Fixes #616

In the original implementation, setter function $setColumnData wrongly assigns selected column to arr directly. If arr is a Series, this results in failure of type check which lead to the confusing "File format not supported" exception.

This fix assigns correct extracted values colunmValuesToAdd to selected columns.

Unit test addColumn pass, no new tests needed for coverage.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

error: File format not supported! while trying to reassign a column.

1 participant


Back | FazBrowse Home | New Git URL