pyarrow.input_stream¶
- pyarrow.input_stream(source, compression='detect', buffer_size=None)¶
Create an Arrow input stream.
- Parameters:
- source
str
,Path
, buffer, file-like object, … The source to open for reading.
- compression
str
optional, default ‘detect’ The compression algorithm to use for on-the-fly decompression. If “detect” and source is a file path, then compression will be chosen based on the file extension. If None, no compression will be applied. Otherwise, a well-known algorithm name must be supplied (e.g. “gzip”).
- buffer_size
int
, defaultNone
If None or 0, no buffering will happen. Otherwise the size of the temporary read buffer.
- source