Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: pyarrow and optionally pydantic #166

Open
westurner opened this issue Mar 20, 2023 · 1 comment
Open

ENH: pyarrow and optionally pydantic #166

westurner opened this issue Mar 20, 2023 · 1 comment

Comments

@westurner
Copy link

westurner commented Mar 20, 2023

What should be the API for working with pandas, pyarrow, and dataclasses and/or pydantic?

@westurner
Copy link
Author

FWIW, re: data validation these days:pydantic_schemaorg validates with schema.org schema, and there's QuantitativeValue[Distribution], CSVW (CSV on the Web) is a standard for CSV in RDF, RDF has many representations: RDF/XML, Turtle (.ttl), JSON-LD (.json, application/ld+json), RDFa (RDF-in-(HTML)-Attributes), some applications - including search engines - work with at least bibliographic linked data like for subtypes of https://schema.org/CreativeWork such as https://schema.org/ScholarlyArticle and :Dataset and :DataCatalog.
Other existing standards for data schema and/or validation: SDMX (pandaSDMX,), W3C Data Cubes (pandas-datacube,), JSONschema (pydantic, react-jsonschema-form,) and W3C SHACL (Schema.org,)

What does that mean for pandas and dataclasses and pyarrow and optionally pydantic?

  • How should additional per-field metadata be specified with type annotations (if type annotations are syntactically sufficient and preferable)?
  • Linked Data is about URIs. How should URIs be specified when specifying data validation schema which are essential to data quality?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant