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

Convert all column metadata to either String or Symbol (where possible) #26

Open
ParadaCarleton opened this issue Jun 18, 2023 · 2 comments

Comments

@ParadaCarleton
Copy link

ParadaCarleton commented Jun 18, 2023

When I load Stata files, I get an odd mix of Strings and Symbols for column metadata, which means the metadata dictionary has Any as the value type. Converting all strings to symbols should help with this.

@junyuan-chen
Copy link
Owner

@ParadaCarleton Thank you for reporting the issue! Could you produce a small Stata file (something artificial with just a couple of rows) that allows reproducing what you observed?

@ParadaCarleton
Copy link
Author

Unfortunately I don't have something small, since I pulled the .dta file that had this problem off the internet 😅

But the file I tried to load is here. The main problem is just that the dictionaries don't convert all values into strings. (Keys can be either strings or symbols without issue.)

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