gretelai / gretel-python-client

The Gretel Python Client allows you to interact with the Gretel REST API.
https://gretel.ai
Apache License 2.0
53 stars 19 forks source link

Add FixedSampler to samplers and improve Csv reader functionality #57

Closed drew closed 3 years ago

drew commented 3 years ago

This pull request adds a new sampler, FixedSample. This is useful for instances where you can load the entire dataset into memory, and want to make sampling decisions based on the total size of the dataset.

I also made some updates to CsvReader so it's more resilient to strangely formatted CSVs.