How to import the pandas library into ignition?

I want to use the features of pandas in ignition

You cannot directly import pandas into Ignition. Ignition’s flavor of python is jython, which runs under Java. pandas requires numpy, which is only available for regular ‘C’ python because it is largely implemented in C. You cannot install C extensions to python in Java.

You might want to look at the Power Scripting module. It is no pandas but it has the excellent MutablePyDataSet.

1 Like

You could always try... GitHub - Stewori/JyNI: Enables Jython to load native CPython extensions.

2 Likes

Hi @cmisztur2, were you able to get JyNI to work with Ignition? (sorry noob here)

Hey I have not, but in this project I have some code that loads up a custom JAR.