Skip to main content

adopt_python

Function adopt_python 

Source
pub fn adopt_python(wb: &mut Workbook) -> Vec<String>
Expand description

Python cells from a file: a cell whose formula is PY("…",0|1) (a format that kept it as a formula) becomes a Python cell, and a Python cell whose spilled values the file cached gets them back as its result, so it shows them until it runs again. Results are rebuilt for at most MAX_ADOPTED_RESULT_CELLS cells in all; the rest keep only their own cached value, and the values they spilled stay as plain values. Returns the warnings.