kaishi.tabular.file
¶
Class definition for tabular data files.
Module Contents¶
-
class
kaishi.tabular.file.
TabularFile
(basedir: str, relpath: str, filename: str)¶ Bases:
kaishi.core.file.File
Class for tabular data file-specific attributes and methods.
-
_has_csv_file_ext
(self)¶ Check if file is variant of .csv
- Returns
flag indicating if file is valid
- Return type
bool
-
_has_json_file_ext
(self)¶ Check if file is variant of .json
- Returns
flag indicating if file is valid
- Return type
bool
-
verify_loaded
(self)¶ Load the file if supported.
-
get_summary
(self)¶ Create summary for this data frame.
- Returns
summary dictionary containing common analyses
- Return type
dict
-