stimpyp.stimpy_git.load_stimlog#
- stimpyp.stimpy_git.load_stimlog(file, *, string_key=True, infer_schema_length=10000)#
Load directly the stimlog file (without riglog time offset), and parse data as polars dataframes
file = ... log = load_stimlog(file, string_key=True) # get dataframe using keyname print(log['PhotoIndicator']) log = load_stimlog(file, string_key=False) # get dataframe using code int print(log[1])
- Parameters:
file (str | Path | bytes | BinaryIO | BufferedIOBase | BufferedReader) – file path for the .stimlog
string_key (bool) – show key as str type, otherwise, int type
infer_schema_length (int) – infer schema length
- Returns:
Code:DataFrame dictionary
- Return type:
dict[str | int, DataFrame]