{ } Raw JSON

bundles / numpy 2.4.4 / numpy / lib / _iotools / LineSplitter

class

numpy.lib._iotools:LineSplitter

source: /numpy/lib/_iotools.py :133

Signature

class   LineSplitter ( delimiter = None comments = # autostrip = True encoding = None )

Members

Summary

Object to split a string at a given delimiter or at given places.

Parameters

delimiter : str, int, or sequence of ints, optional

If a string, character used to delimit consecutive fields. If an integer or a sequence of integers, width(s) of each field.

comments : str, optional

Character used to mark the beginning of a comment. Default is '#'.

autostrip : bool, optional

Whether to strip each individual field. Default is True.

Aliases

  • numpy.lib._iotools.LineSplitter