iode.Variables.copy_from
- Variables.copy_from(input_files: str | List[str], from_period: str | Period = None, to_period: str | Period = None, names: str | List[str] = '*')[source]
Copy (a subset of) variables from the input file(s) ‘input_files’ into the current database.
- Parameters:
- input_file: str or list(str)
file(s) from which the copied variables are read.
- from_period: str or Period, optional
start period for copying the variables values.
- to_period: str or Period, optional
end period for copying the variables values.
- names: str or list(str), optional
list of variables to copy from the input file(s). Defaults to load all variables from the input file(s).