Browse Source

added apply_map() api function to readme

xmlparsing
Holger Frey 3 years ago
parent
commit
df0bf78b29
  1. 3
      README.md

3
README.md

@ -44,6 +44,9 @@ from .parser import parse_file, parse_folder # noqa: F401
Splits a data frame based on the unique values of a column. Will return a Splits a data frame based on the unique values of a column. Will return a
dict, with the unique values as keys and the corresponding data frame as dict, with the unique values as keys and the corresponding data frame as
value value
- **apply_map(data_frame, map, idex_col)**
Adds information provided in the nested dictionary `map` to a data frame,
based on the values in the data_frame column `index_col`.
- **apply_exposure_map(data_frame, exposure_map)** - **apply_exposure_map(data_frame, exposure_map)**
Adds information about the channel and exposure time to a data frame, based Adds information about the channel and exposure time to a data frame, based
on the exposure id. Will get bonus karma points, if the named tuple on the exposure id. Will get bonus karma points, if the named tuple

Loading…
Cancel
Save