Hi there,
I have a Python module that registers fine with xlSlim.
One of the python functions in that module always returns the following error when I call it from Excel: "#ERR The function call failed - Cannot skip more rows than are present"
The same function works just fine when called from the Python file in the '__main__' block.
The function takes a DataFrame and returns DataFrame. It is defined as follows:
def build_line_items(combinedNetworks:pd.DataFrame) -> pd.DataFrame:
When calling it from Excel, I pass it a cacheHandle to a DataFrame object.
Any ideas what causes this error, and how to avoid it?
Thanks!
Matt