I need the python equivalent code for the below MATLAB code:
[f,xi] = ksdensity(data,'Support','positive','Function','cdf');
I find the below python code, but I don't know how I can provide its cdf
. I appreciate it if you could guide me.
from scipy import stats
kde = stats.gaussian_kde(data)