[FR] Allow Optional Schema Mapping for Sheets to Dataframe Method #93
Labels
dataframes
Issues or Features with Pandas Dataframes
enhancement
New feature or request
fr
Feature Request
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
calledschema
that has a default value ofNone
.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.
The text was updated successfully, but these errors were encountered: