cdm_reader_mapper.DataBundle.add#
- DataBundle.add(addition, inplace=False)[source]#
Adding information to a
DataBundle.- Parameters:
addition (
dict) – Additional elements to add to theDataBundle.inplace (
bool) – IfTrueadd datasets inDataBundleelse return a copy ofDataBundlewith added datasets. Default: False
- Return type:
- Returns:
DataBundleorNone– DataBundle with added information or None ifinplace=True.
Examples
>>> tables = read_tables("path_to_files") >>> db = db.add({"data": tables})