From df0bf78b29918522b52e0b74a8b0338862e29d0c Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 18 Jan 2022 11:54:21 +0100 Subject: [PATCH] added apply_map() api function to readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index ce30658..c0e198e 100644 --- a/README.md +++ b/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 dict, with the unique values as keys and the corresponding data frame as 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)** 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