Hello all,

I am trying to extract data from a simulation setting-file. The
picture below gives a short extract.

Reading it with read_html gives no error message and results in
something like:

My current idea is now to get some grouping on different levels
based on column 0.

So e.g. there should be a group 'Continua' with the subsettings.

In the end it should be possible to filter the table by the current
1st and 2nd column values, e.g.

I would like to extract the value of "Begin" (index 12) from the
"Eddy Break-up" group, which belongs to "Models" ...

Maybe I need to create for each subsetting an additional column, but
I am a bit clueless right now, how to structure the available
information.

It would be nice, if someone has a suggestion!

Best Regards

Fabian

Here is the direct text copy of the output:

0
1 2

0 1 V2_M03_star_fine_smooth
NaN NaT

1 +-1 Parts
NaN NaT

2 +-2 Contacts
NaN NaT

3 +-3 3D-CAD Models
NaN NaT

4 +-4 Filters
NaN NaT

5 +-5 Tags
NaN NaT

6 +-6 Continua
Continua NaT

7 | +-1 GasPhase
Regions NaT

8 | | |
Interfaces NaT

9 | | +-1 Models
NaN NaT

10 | | | +-1 Cell Quality Remediation
NaN NaT

11 | | | +-2 Eddy Break-up Source Enabled
Trigger NaT

12 | | | |
Begin NaT

13 | | | | Source Term
Limiting NaT

14 | | | | Store Reaction
Rates NaT

15 | | | | Reaction
Control NaT

16 | | | +-3 Gradients Gradient
Method NaT

17 | | | | Limiter
Method NaT

18 | | | | Custom Accuracy Level
Selector NaT

19 | | | |
Verbose NaT

--

You received this message because you are subscribed to the Google Groups "PyData" group.

To unsubscribe from this group and stop receiving emails from it, send an email to pydata+unsubscribe <at> googlegroups.com.

For more options, visit https://groups.google.com/d/optout.