Python and phyphox: Difference between revisions
From wikiluntti
Line 16: | Line 16: | ||
df = pd.read_xml( filename ) | df = pd.read_xml( filename ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
does not work if the XML file is too large. | does not work if the XML file is too large. | ||
== Flights == | == Flights == |
Revision as of 19:30, 9 June 2025
Introduction
Phyphox XML and VIM
Activate the matchit.vim macro :runtime macros/matchit.vim
and set the filetype :set filetype=html
(or xml), and now % swaps between the tags.
The data is located in <data-containers>
blocks and <container>
tag contains the data of each measurements.
Load the data
The simplest
import pandas as pd
df = pd.read_xml( filename )
does not work if the XML file is too large.