Skip to content

ddf.to_parquet(append=True) error when file not existing #3008

Closed

Description

@thebeancounter

When I try to save to parquet with append = True, in the first time (the file is absent), I get an error, I fixed it using this code

append = False 
if os.path.exsists(file):
    append = True 
ddf.to_parquet(append = append) 

Is it a good idea to create a pool request with this code inside the to_parquet method?

Thanks.

Activity

  1. shughes-uk commented on Dec 18, 2017

    @shughes-uk
    Contributor

    Just want to chime in to say I do the same thing and would appreciate this change.

  2. added a commit that references this issue on Jan 24, 2018
    2c2e2ce
  3. added a commit that references this issue on Jan 25, 2018
    2762463
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions