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

[FR] Allow Optional Schema Mapping for Sheets to Dataframe Method #93

Open
kmaphoenix opened this issue Oct 18, 2022 · 0 comments
Open
Assignees
Labels
dataframes Issues or Features with Pandas Dataframes enhancement New feature or request fr Feature Request

Comments

@kmaphoenix
Copy link
Member

Is your proposal related to a problem?

As a user who imports Google Sheets to Dataframe, I want the ability to specify the data schema that I'm providing so everything is not interpreted as object, or potentially misinterpreted.

Describe the solution you'd like

Provide an optional arg in sheets_to_dataframe called schema that has a default value of None.
A user can then provide a schema map of the column names and dtypes that they want for each column.

Under the hood, SCRAPI will handle the assignment of the dtypes when importing the Sheet to Dataframe.

Additional context

This would save downstream schema manipulation for tools, scripts, apps, etc.

@kmaphoenix kmaphoenix added enhancement New feature or request fr Feature Request dataframes Issues or Features with Pandas Dataframes labels Oct 18, 2022
@kmaphoenix kmaphoenix self-assigned this Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dataframes Issues or Features with Pandas Dataframes enhancement New feature or request fr Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant