Skip to content

Conversation

SvenKlaassen
Copy link
Member

Typcasting y_col, d_cols and z_cols to numeric, see #232

@SvenKlaassen SvenKlaassen linked an issue Oct 17, 2025 that may be closed by this pull request
@SvenKlaassen SvenKlaassen added this to the Release 0.11.0 milestone Oct 17, 2025
@SvenKlaassen SvenKlaassen self-assigned this Oct 20, 2025
@SvenKlaassen SvenKlaassen marked this pull request as ready for review October 20, 2025 08:08
Copy link
Member

@JanTeichertKluge JanTeichertKluge left a comment

Choose a reason for hiding this comment

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

This PR adds type conversion of outcome, treatment, and instrument columns to float, addressing issue #232.
The changes are straightforward and have been implemented well and efficiently.
The two comments are minor points, but additional test cases could be added (other data types for data in DID/Panel such as datetime, True/False instead of 0/1 values, etc.).

Copy link
Member

@JanTeichertKluge JanTeichertKluge left a comment

Choose a reason for hiding this comment

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

Thanks for the changes, appreciate it!

@SvenKlaassen SvenKlaassen merged commit 815f651 into main Oct 20, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: type casting outcome_variable and treatment_variable(s)

2 participants