Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

[DataFrame] Add a LoadCsv overload or other method that takes CSV content directly #2984

Closed
jonsequitur opened this issue Oct 22, 2020 · 1 comment · Fixed by #2988
Closed
Assignees

Comments

@jonsequitur
Copy link

Getting from a CSV string to a DataFrame requires some ceremony involving creating a stream first. While this might not be the ideal approach from a performance perspective for larger volumes of data, it's very useful for prototyping with sample subsets of data. An API like this will also play nicely with the .NET Interactive #!value magic command.

DataFrame.LoadCsvFromString(@"col1,col2,col3
1,2,3
4,5,6
");
@pgovind
Copy link
Contributor

pgovind commented Oct 27, 2020

I think this is a good idea. I'll put a PR up for this soon and we can include this in the next preview

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

Successfully merging a pull request may close this issue.

2 participants