present_units_columns

function of dascore.utils.pd source

present_units_columns(
    df: DataFrame ,
)-> ‘pd.DataFrame’

Expose private _{name}_units columns under public names.

Coordinate bounds retain their original units, so distance_min=65.6 needs distance_units=ft alongside it. Planners keep units private to avoid merge conflicts; only the public view renames them.

Existing public columns are preserved, leaving conflicting private columns unchanged. Index-generated frames avoid this conflict by warning and omitting attributes that claim coordinate units or envelope columns.