Import xplain python package and interact with Object Analytics
How to import the xplain PyPi Package and how to use it to interact with the current Object analytics session.
Last updated
How to import the xplain PyPi Package and how to use it to interact with the current Object analytics session.
Last updated
we need to tell WebAssembly to install the PyPi package xplain, enter xplain
in the input field pip install
Enter following code into code area
Click the run button, a window for count Event grouped by Activity will be opened in Object Analytics screen.
Xsession.open_attribute() is a convenient function for a query to count the Events grouped by Activity, it will create an open query in the xplain session which is shared by current Object Analytics. As result, an attribute Window for Activity will be opened in the Object Analytics Screen.