Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I'm new to Qlick sens, I'm trying to add a python script to Qlick sense.
i want to make an app that allows to impute missing data to xlsx file using sickit learn imputers and then make data visualization , my python code looks like:
# features selection then,
imputer= IterativeImputer(random_state=0, estimator=
ExtraTreesRegressor(n_estimators=10, random_state=0))
imputed_data=imputer.fit_transform(dataset_to_impute)
i have seen these examples:
https://github.com/qlik-oss/server-side-extension/tree/master/examples/python
but i didn't know how to do it in my case!
Please, can anyone help?
Hello, I'm back again!
So, to integrate python script to Qlick Sense you can use server-side extension (SSE) it exposes Qlik data to an external scripting/programming language (python in our case) through remote procedure calls (RPCs).
Here we are going to passe DATA to python in a request (it is which is an iterator object made of multiple bundled rows)
To add other functions or customize your application according to your need you can edit
the two files:
Custom functions are callable from the Qlik Sense front-end.
In the example I made i called the function "impute" to recuperate my data with imputed data by adding
an expression in your Qlick app :
pluginName.funtionName(col1,col2,col_n) // your function's parameters
in the example expression is added to "imputed data" table's columns:
Imputer.Impute(Age,High,Weight)
To understand well how the SSE works and each function in python's code you can read this article
https://www.axisgroup.com/data-industry-insights-blog/qlik-sense-server-side-extensions-part-13-arch...
Hello, I'm back again!
So, to integrate python script to Qlick Sense you can use server-side extension (SSE) it exposes Qlik data to an external scripting/programming language (python in our case) through remote procedure calls (RPCs).
Here we are going to passe DATA to python in a request (it is which is an iterator object made of multiple bundled rows)
To add other functions or customize your application according to your need you can edit
the two files:
Custom functions are callable from the Qlik Sense front-end.
In the example I made i called the function "impute" to recuperate my data with imputed data by adding
an expression in your Qlick app :
pluginName.funtionName(col1,col2,col_n) // your function's parameters
in the example expression is added to "imputed data" table's columns:
Imputer.Impute(Age,High,Weight)
To understand well how the SSE works and each function in python's code you can read this article
https://www.axisgroup.com/data-industry-insights-blog/qlik-sense-server-side-extensions-part-13-arch...