tepkit.io.TableTextFile

tepkit.io.TableTextFile#

class tepkit.io.TableTextFile#

Bases: TextFile

The class for text files. The base class for StructuredTextFile and TableTextFile .

Attributes#

Attribute

Default Value

Description

default_from_file_config

None

column_indices

None

column_indices_autofill

None

df

None

Methods#

from_file([path])

Read the text file, and save its text to self.content.

All Members#

default_from_file_config
column_indices: dict
column_indices_autofill: dict
df: pandas.DataFrame | None = None
classmethod from_file(path: tepkit.utils.typing_tools.PathLike = None)

Read the text file, and save its text to self.content.