Skip to content

Add optional pandas helpers: to_dataframe / from_dataframe for flat dataclasses #232

@rnag

Description

@rnag
  • Goal: Easy DS integration without “pandas serialization”.

  • API:

    • dataclass_wizard.integrations.pandas.to_dataframe(objs) -> pd.DataFrame
    • ...from_dataframe(cls, df) -> list[cls]
  • Constraints (important):

    • Start with flat fields only (nested objects -> error or stringify; decide explicitly).
  • Acceptance criteria:

    • Optional extra: dataclass-wizard[pandas]
    • Docs + a minimal example in README or integrations page.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions