etl-parser icon indicating copy to clipboard operation
etl-parser copied to clipboard

Minimal example of how I could get the traits on an event into a Panda dataframe?

Open jt0dd opened this issue 2 years ago • 0 comments

I'm not extremely experienced with Python and some of the data structures involved in the way this library parses, such as constructs, leave me fairly confused about how to actually parse and iterate over the ETL file.

I noticed there are different types of events, and there seems to be some nesting involved, so maybe this question is more complicated than I realize. I've tinkered with this library for a few hours exploring the data structure of what build_from_stream returns. It seems like the properties are located within etl_reader.header.pattern.subcons but I'm having trouble reading the contents of each property.

Is it possible to show a very minimal example of how to go about converting a file into a panda dataframe?

jt0dd avatar Mar 19 '22 02:03 jt0dd