docstring in dump_csv