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

PySD data files load does not allow for encoding #455

Open
rachieg2 opened this issue Oct 15, 2024 · 2 comments
Open

PySD data files load does not allow for encoding #455

rachieg2 opened this issue Oct 15, 2024 · 2 comments

Comments

@rachieg2
Copy link

Even though the Columns() object has an option for encoding, this parameter does not appear to be passed through the helpers to load_vensim() or any similar top-level function. Please allow me to specify encoding when I pass data files to the load. Thanks!

@enekomartinmartinez
Copy link
Collaborator

Sure, I could add that support. Would you have a common encoding for all the files? I would prefer to have a str argument but I could make it a dict if necessary.

@enekomartinmartinez
Copy link
Collaborator

Let me know if the changes in https://github.com/SDXorg/pysd/tree/add_tabdata_encoding fill your requirements and if not if you need access to other arguments. If so, I could try to add a more generic kwarg dict for these files.

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

No branches or pull requests

2 participants