I see that there may be some challenges when I observe your image example. It might not be straightforward porting of solutions but you may / will require some string manipulations since there are multi-level headers.
Nonetheless you can give this approach a try:
Convert PDF Datatable to Excel - Build - UiPath Community Forum