d6t / d6tflow

Python library for building highly effective data science workflows
https://d6tflow.readthedocs.io/en/latest/
MIT License
951 stars 77 forks source link

Task type to output txt files. #8

Closed NeuroWinter closed 5 years ago

NeuroWinter commented 5 years ago

I am currently working with AWS SageMaker, and it requires a text file to be uploaded as the data.

Would we be able to implement a Task that will output a simple text file?

d6tdev commented 5 years ago

Try this

class TaskTXTPandas(d6tflow.tasks.TaskCSVPandas):
    target_ext = 'txt'

class YourTask(TaskTXTPandas):
    def run(self):
        pass
d6tdev commented 5 years ago

Closing for now, reopen if it doesnt work