Skip to content

Conversation

@sweco
Copy link
Collaborator

@sweco sweco commented Jun 17, 2025

By default, pd.read_csv parses empty values as NaN. However, Jinja does not interpret NaN as null which stops some expressions from working, e.g. fallback values value or 0.

By default, pd.read_csv parses empty values as NaN. However, Jinja does not interpret NaN as null which stops some expressions from working, e.g. fallback values `value or 0`.
@sweco sweco marked this pull request as ready for review June 17, 2025 09:52
@sweco sweco requested a review from zoegerolemou June 17, 2025 09:52
Copy link
Collaborator

@zoegerolemou zoegerolemou left a comment

Choose a reason for hiding this comment

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

🚀

@sweco sweco merged commit e00c46a into main Jun 23, 2025
1 check passed
@sweco sweco deleted the sweco/parse-nulls-in-csv branch June 23, 2025 11:03
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