20 lines
608 B
Markdown
20 lines
608 B
Markdown
# tcxpandas
|
|
A small Python module to convert tcx component classes to pandas dataframes.
|
|
|
|
Initialize the TcxPandas class with the tcx file, you want to export component classes from.
|
|
The instance of the class will then contain a list of all component classes as dataframes.
|
|
|
|
So each instance of TcxPandas can be initiated with different tcx files and then each of them wil contain the dataframes for a particular tcx file.
|
|
|
|
## Usage
|
|
```python
|
|
from tcxpandas.TcxPandas import TcxPandas
|
|
|
|
df = TcxPandas("your_file_here.tcx")
|
|
df1 = TcxPandas("another_file.tcx")
|
|
|
|
print(df.dataframes)
|
|
print(df1.dataframes)
|
|
```
|
|
|