You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another option might be to change EncodingFormat to support list of media types: "encodingFormat": ["application/gzip", "application/json"].
Alternatively, and possibly preferably, we could introduce a new cr:compression keyword for FileObjects, which could be used similarly to the compression keyword that is available for read_json and read_csv in pandas.
The text was updated successfully, but these errors were encountered:
Currently, we don't have a way to read gzipped files.
PR #636 introduces a hack to infer whether a file has to be opened with gzip from its name.
Currently, however, don't have a nice way to express this in the Croissant definition itself.
One option to proceed might be to add the gzip media type to the
EncodingFormat
attribute of a FileObject by concatenating media types using+
:Another option might be to change
EncodingFormat
to support list of media types:"encodingFormat": ["application/gzip", "application/json"]
.Alternatively, and possibly preferably, we could introduce a new
cr:compression
keyword for FileObjects, which could be used similarly to thecompression
keyword that is available forread_json
andread_csv
in pandas.The text was updated successfully, but these errors were encountered: