How to get XMI File into pandas dataframe

171 views Asked by At

I hope it's no duplicate, but I've found nothing regarding my specific question. I wonder if it's possible to convert an xmi file into a pandas dataframe by using pd.read_xml(). The read_xml functionality is available since pandas 1.3.4. I don't know too well about the differences between xmi and xml, but it seems that xmi is a special type of xml and these two types can not always be used identical. So, is it possible to convert an xmi file into a pandas dataframe using pandas.read_xml() ?

Thanks in advance

1

There are 1 answers

1
Janosch On

I've just tried it by now. It's possible getting data from xmi files into a pandas dataframe using pandas.read_xml().