iter_arff¶
Iterates over rows from an ARFF file.
Parameters¶
-
filepath_or_buffer
Either a string indicating the location of a file, or a buffer object that has a
readmethod. -
target
Type → str | None
Default →
NoneName of the target field.
-
compression
Default →
inferFor on-the-fly decompression of on-disk data. If this is set to 'infer' and
filepath_or_bufferis a path, then the decompression method is inferred for the following extensions: '.gz', '.zip'.