Skip to content

Fixed Pandas read_csv bug by specifying engine#262

Merged
QuanMPhm merged 1 commit intoCCI-MOC:mainfrom
QuanMPhm:fix/pandas.3_again
Mar 2, 2026
Merged

Fixed Pandas read_csv bug by specifying engine#262
QuanMPhm merged 1 commit intoCCI-MOC:mainfrom
QuanMPhm:fix/pandas.3_again

Conversation

@QuanMPhm
Copy link
Contributor

As mentioned by Kristi[1], the better solution to the Pandas read_csv bug is to specify the engine as "pyarrow", rather than having the loading and casting step seperate.

[1] nerc-project/coldfront-plugin-cloud#290 (review)

Copy link
Contributor

@knikolla knikolla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in the other PR, I think it's worth updating the dependency to require pandas >=3 and <4.

As mentioned by Kristi[1], the better solution to the Pandas
read_csv bug is to specify the engine as "pyarrow", rather
than having the loading and casting step seperate.

[1] nerc-project/coldfront-plugin-cloud#290 (review)
@QuanMPhm QuanMPhm merged commit 2e4bd20 into CCI-MOC:main Mar 2, 2026
6 checks passed
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.

3 participants