Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant