1/30/2023 0 Comments Local to local copy not supported![]() Recognized URI schemes are “file”, “mock”, “s3fs”, “hdfs” and “viewfs”. equals ( self, FileSystem other ) ¶ static from_uri ( uri ) ¶ ![]() If False then an error is raised if path does (if path is empty or “/”) missing_dir_ok bool, default False accept_root_dir bool, default FalseĪllow deleting the root directory’s contents Like delete_dir, but doesn’t delete the directory itself. delete_dir_contents ( self, path, *, bool accept_root_dir=False, bool missing_dir_ok=False ) ¶ĭelete a directory’s contents, recursively. delete_dir ( self, path ) ¶ĭelete a directory and its contents, recursively. recursive bool, default TrueĬreate nested directories as well. This function succeeds if the directory already exists. get_file_info ( path ) create_dir ( self, path, *, bool recursive=True ) ¶ get_file_info ( local_path + '/pyarrow-fs-example_copy.dat' ) > local. The destination path where the file is copied to. If the destination exists and is a directory, an error is returned. Open an output stream for sequential writing. Open an input stream for sequential reading. Open an input file for random access reading. _init_ ( * args, ** kwargs ) ¶Ĭreate_dir(self, path, *, bool recursive=True)ĭelete a directory and its contents, recursively.ĭelete a directory's contents, recursively.Ĭreate a new FileSystem from URI or Path. ![]() Pyarrow.fs.FileSystem ¶ class pyarrow.fs. Reading and Writing the Apache Parquet Format Reading and Writing the Apache ORC Format ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |