Initializing help system before first use

pyusepandas

Description

If this parameter is true, then the next usage of any Python functionality will trigger the initialization of the pandas interface. When the interface is initialized, Mosel scalars can also be initialized from NumPy scalars, arrays can also be initialized from NumPy ndarrays and pandas Series, and lists of arrays can be initialized from pandas DataFrames. Once initialized, the pandas interface will remain initialized even after switching pyusepandas off. In particular, it will still be possible to initialize Mosel types from pandas and NumPy types.

When converting data from Mosel to Python, the target type depends on the value of pyusepandas: When the parameter is true, Mosel arrays and lists of arrays are converted to pandas Series and DataFrames; when it is false, then Mosel arrays will be converted to Python dictionaries. Mosel lists of arrays cannot be initialized to a Python type when this parameter is disabled.

Type
Boolean, read/write
Default value
false
See also
Module
python3

© 2001-2022 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.