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

added fromStream and basic test for fromStream #5

Merged
merged 4 commits into from
Dec 12, 2020

Conversation

caseycrogers
Copy link
Collaborator

@caseycrogers caseycrogers commented Nov 22, 2020

Adds a 'fromStream' method to DataFrame along with a basic test for fromStream. Refactors fromCSV to rely on fromStream to avoid code duplication. Changes should be non-breaking.

Useful for writing tests that rely on parsing logic without having to construct a .csv (I'm about to add support for properly respecting escape quotes and would like to write tests without having to create a new csv for each one).

Could also be valuable to some users whose input data is coming from somewhere other than a file (eg a network connection).

@caseycrogers
Copy link
Collaborator Author

@synw please review this when you get the chance! Hope this can be merged :)

@caseycrogers caseycrogers mentioned this pull request Nov 23, 2020
@synw synw merged commit 8df8402 into synw:master Dec 12, 2020
@caseycrogers caseycrogers deleted the casey-fromStream branch December 13, 2020 05:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants