opendatastudio / bindfit-dataflow

Bindfit datapackage for opendata.studio
0 stars 0 forks source link

Use field names instead of titles in tabular data resource DataFrame labels #38

Closed echus closed 1 month ago

echus commented 3 months ago

Titles - generated from user data, not machine readable and not predictable. Names - generated from metaschema, machine readable and predictable.

We probably want to change behaviour so that tabular data resource pandas DataFrames are populated using names not titles. It does not make sense to use titles as they're unpredictable and thus prevent people from being able to reference by column names in algorithm code, taking away a lot of the advantages of using pandas.

This will have the side effect of making it harder to propagate user-generated titles to schemas in resources that are dependent on input data like fitCurve, fitResiduals. Will have to solve that problem separately after this is implemented.

echus commented 3 months ago

Related to https://github.com/opendatafit/bindfit-datapackage/issues/33

echus commented 1 month ago

Fixed by https://github.com/opendatafit/opendatafit/commit/677d62f1e195ac8d544eda3b0d64b27557e106ae