-
Notifications
You must be signed in to change notification settings - Fork 88
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
Add embedded lists and embedded objects support to CSV encoder #143
Comments
Hey, I came across your project (looks pretty cool) and I was reading the list of issues. I am learning programming and I have a question - What is an embedded list/object? I can see you're referring to CSV files here but I don't understand what an embedded list is in reference to CSV data. |
hi @ritiksahni, By embedded list or object, i mean putting a list or an object as the value of a particular column for a given row. For example, here's the first (and only) record of the dataframe below has a list of [1, 2, 3] for the value of column 'b' pd.DataFrame([{'a': 1, 'b': [1, 2, 3]}]).to_csv() There's a nearly finished PR here: #144. |
Understood, thank you very much. |
CSV encoder only works with flat objects at the moment, it would be nice to add support for embedded lists and embedded objects. Embedded lists are a particularly common extraction item.
The text was updated successfully, but these errors were encountered: