For testing: On running a Data Function - Python script (Force Server) to print the version of
pandas and
numpy library, it does not show 1.26.2 and 2.2.6 but instead some other version numbers.
There are certain essential packages as mentioned in the document
Included Packages. The packages listed in this table are required for Spotfire and the Python interpreter to work together. Removing or altering these packages may cause your Python data functions to fail.
If you are building an SPK intended for the Spotfire Service for Python, then you must avoid installing packages that are already included in the installation. Installing a different version of a package that is included in the service installation can cause unexpected errors. If a package you are installing depends on or requires one of the included packages, then it is filtered out when the SPK is built. For a list of included packages, see
Included Packages.
The list above included numpy and pandas which are amongst the packages listed in the included packages, which are hence intentionally filtered out from the SPK.
These packages are intentionally filtered out during the SPK build process to ensure uninterrupted running of the Spotfire and the Python interpreter.