I have a string of text in an XML format that I'm looking to output into a pandas dataframe. This is the string:
<period type="Day" value="2022-01-03Z"><rep d="W" dm="3" fdm="-3" gn="40" hn="81" ppd="36" s="11" u="1" v="EX" w="7">Day</rep><rep d="WNW" fnm="-4" gm="47" hm="79" nm="1" ppn="81" s="29" v="VG" w="12">Night</rep></period>
I know pandas.read_xml(x) is a good way of doing this when you have an XML file, but I'm getting'AttributeError: enter' when trying to use this on this string.