woodwork.table_accessor.WoodworkTableAccessor.to_disk

WoodworkTableAccessor.to_disk(path, format='csv', compression=None, profile_name=None, **kwargs)[source]

Write Woodwork table to disk in the format specified by format, location specified by path. Path could be a local path or an S3 path. If writing to S3 a tar archive of files will be written.

Note

As the engine fastparquet cannot handle nullable pandas dtypes, pyarrow will be used for serialization to parquet.

Parameters
  • path (str) – Location on disk to write to (will be created as a directory)

  • format (str) – Format to use for writing Woodwork data. Defaults to csv. Possible values are: {‘csv’, ‘pickle’, ‘parquet’}.

  • compression (str) – Name of the compression to use. Possible values are: {‘gzip’, ‘bz2’, ‘zip’, ‘xz’, None}.

  • profile_name (str) – Name of AWS profile to use, False to use an anonymous profile, or None.

  • kwargs (keywords) – Additional keyword arguments to pass as keywords arguments to the underlying serialization method or to specify AWS profile.