pyerrors/.github/workflows
Fabian Joswig 682d23604d
[Fix] Pandas 3 string type changes (#278)
* [Fix] Pandas 3 string type handling

* [ci] Temporarily remove WError because of scipy deprecation

* [Fix] Address edge cases in _deserialize_df

- Use pd.isna() instead of truthiness check for gzip null guard, fixing
  incorrect behavior when null is np.nan (which is truthy in Python)
- Add bounds check to while loop to prevent IndexError when all non-null
  values are empty strings converted to None by regex replace

* [Fix] Address edge cases in _deserialize_df and add string dtype tests

- Guard against IndexError on empty DataFrames and all-null columns
- Use is not None instead of pd.isna() for Obs objects in auto_gamma
- Add tests for string dtype columns (with/without None, CSV and SQL)
- Add test for empty DataFrame deserialization

* [Fix] Avoid skipping NA-to-None conversion and guard auto_gamma against None lists

- Replace continue with conditional to preserve NA-to-None conversion for all-null columns
- Guard auto_gamma list lambda against None values to prevent TypeError
- Add tests for all-empty-string columns and Obs lists with None + auto_gamma
2026-03-29 18:46:15 +02:00
..
binder.yml ci: binder workflow only runs for push to master. 2022-11-16 10:44:39 +00:00
docs.yml [chore] Remove support for python 3.9 and bump python versions in runners (#273) 2025-10-19 12:59:20 +02:00
examples.yml [CI] Speed up test workflow install phase by using uv (#254) 2025-01-10 09:36:05 +01:00
flake8.yml [chore] Remove support for python 3.9 and bump python versions in runners (#273) 2025-10-19 12:59:20 +02:00
pytest.yml [Fix] Pandas 3 string type changes (#278) 2026-03-29 18:46:15 +02:00
release.yml [Build] Release workflow added. (#244) 2024-11-03 16:57:20 +01:00
ruff.yml [ci] Add ruff workflow (#250) 2024-12-24 17:52:08 +01:00