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

Allow ColumnMapper Known Map strings to be supplied directly to loader functions #408

Open
3 tasks
dougbrn opened this issue Mar 20, 2024 · 1 comment
Open
3 tasks
Labels
enhancement New feature or request

Comments

@dougbrn
Copy link
Collaborator

dougbrn commented Mar 20, 2024

Feature request
Known maps offer some nice convenience for users to just create a column mapper object from a string (e.g. ColumnMapper().use_known_map("ztf")). It would be even better to just allow users to pass the string as an input to functions like this: from_parquet(column_mapper="ztf") instead of needing to create a ColumnMapper object up front.

Before submitting
Please check the following:

  • I have described the purpose of the suggested change, specifying what I need the enhancement to accomplish, i.e. what problem it solves.
  • I have included any relevant links, screenshots, environment information, and data relevant to implementing the requested feature, as well as pseudocode for how I want to access the new functionality.
  • If I have ideas for how the new feature could be implemented, I have provided explanations and/or pseudocode and/or task lists for the steps.
@dougbrn dougbrn added the enhancement New feature or request label Mar 20, 2024
@dougbrn
Copy link
Collaborator Author

dougbrn commented Mar 25, 2024

Add some kind of output that lets the user know what mappings were assigned

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

No branches or pull requests

1 participant