A collection of python utils for Fugue projects
Maintained. Last release 3 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install triadTriad
A collection of python utility functions for Fugue projects
Installation
pip install triad
Release History
1.0.4
- Lossless large type normalization (keeps nullability, metadata and
keys_sorted); addnormalize_large_types_in_table get_alter_funcappliesto_schema's metadata and nullability; pyarrow raises on nulls into non-nullable fieldsschemas_equal(ignore=...)respects metadata on both sides- pandas 3 fixes:
to_pa_datatypefor everyStringDtype, string dtype of empty frames,as_array_iterablereturns None for missing strings, mixed-offset strings cast to tz-aware timestamps,to_timedeltaaccepts legacy unit aliases - On pandas 3,
cast_df(..., use_extension_types=False)returns the input frame unchanged (keeping its index) when dtypes already match - On both pandas versions,
large_stringnow maps to pandasStringDtypewhenuse_extension_types=True(with or without ), consistent with , in , and