<jupyter_start><jupyter_text>Quick import<jupyter_code>log_fpath = '/path/to/event/log'
logtable = podspy.log.data_io.import_log_table(log_fpath)<jupyter_output><empty_output><jupyter_text>Include all attributes using ImportMode<jupyter_code>from podspy.log.data_io import ImportMode

logtable = podspy.log.data_io.import_log_table(log_fpath, import_mode=ImportMode.ALL)<jupyter_output><empty_output><jupyter_text>Customize the attributes to include<jupyter_code>to_incl = {
    'event': { 'concept:name', 'org:resource' },
    'trace': { 'concept:name' },
    'log': { }
}

logtable = podspy.log.data_io.import_log_table(log_fpath, include_attribs=to_incl)<jupyter_output><empty_output><jupyter_text>Customize trace attribute to use as caseid<jupyter_code># if 'hidden-jem' is not a trace attribute, a int trace index will be used instead
logtable = podspy.log.data_io.import_log_table(log_fpath, caseid_key='hidden-jem')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11764705882352941, 'fraction_numerical': 0.0, 'mean_word_length': 8.435643564356436, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '307810', 'license': 'MIT', 'n_tokens_mistral': 363, 'n_tokens_neox': 359, 'n_words': 52, 'path': 'jupyter_examples/import_event_logs.ipynb', 'repo_name': 'jwllee/podspy', 'size': '952'}