skbio.io.registry.
sniff
(self, file, **kwargs)[source]¶Detect the format of a given file and suggest kwargs for reading.
State: Stable as of 0.4.0.
Parameters: | file : openable (filepath, URL, filehandle, etc.)
kwargs : dict, optional
|
---|---|
Returns: | (str, dict)
|
Raises: | UnrecognizedFormatError
TypeError
|