You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package provides reading and writing functionality for [**Table Format System (TFS)** files](http://mad.web.cern.ch/mad/madx.old/Introduction/tfs.html).
13
-
Files are read into a `TfsDataFrame`, a class built on top of the famous `pandas.DataFrame`, which in addition to the normal behavior attaches an `OrderedDict` of headers to the `DataFrame`.
12
+
This package provides reading and writing functionality for [**Table Format System (TFS)** files](http://mad.web.cern.ch/mad/madx.old/Introduction/tfs.html).
13
+
Files are read into a `TfsDataFrame`, a class built on top of the famous `pandas.DataFrame`, which in addition to the normal behavior attaches a dictionary of headers to the `DataFrame`.
14
14
15
15
See the [API documentation](https://pylhc.github.io/tfs/) for details.
16
16
17
17
## Installing
18
18
19
19
Installation is easily done via `pip`:
20
+
20
21
```bash
21
22
python -m pip install tfs-pandas
22
23
```
23
24
24
25
One can also install in a `conda`/`mamba` environment via the `conda-forge` channel with:
26
+
25
27
```bash
26
28
conda install -c conda-forge tfs-pandas
27
29
```
28
30
29
31
## Example Usage
30
32
31
33
The package is imported as `tfs`, and exports top-level functions for reading and writing:
0 commit comments