You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update DataFrame.to_csv documentation to indicate using glob based naming over single file #1506
From the documentation in the API, the cheatsheet or the introduction its not clear that a user should not provide a single filename but instead use the glob format to create multiple files using a common structure like file-*.csv
If you search for def to_csv in dask/dataframe/core.py` you'll find the right place to add the docstring. Other docstrings within that file might be good models.
I created another PR for the docstring part, copying the pandas docstring and adding info about the multiple files features.
The downside of this is that we have to keep track of pandas to_csv docstring updates manually. However this method should be already rock-solid stable, so I believe that won't be a serious issue.
Activity
mrocklin commentedon Aug 26, 2016
I agree. Currently we just copy the
pandasdocstring. It would be good to create our own. Can I interest you in submitting a pull request?mobcdi commentedon Aug 26, 2016
Fairly new to this word but happy to do my bit if I can. Where do you recommend I target the change?
mrocklin commentedon Aug 26, 2016
This might be helpful: http://dask.readthedocs.io/en/latest/develop.html , in particular http://dask.readthedocs.io/en/latest/develop.html#docstrings
If you search for
def to_csvin dask/dataframe/core.py` you'll find the right place to add the docstring. Other docstrings within that file might be good models.mobcdi commentedon Aug 26, 2016
#1508 and #1507 created
dukebody commentedon Sep 4, 2016
I created another PR for the docstring part, copying the pandas docstring and adding info about the multiple files features.
The downside of this is that we have to keep track of pandas to_csv docstring updates manually. However this method should be already rock-solid stable, so I believe that won't be a serious issue.
mrocklin commentedon Sep 14, 2016
Closed by #1525