- 在使用neurokit2时候,会出现如下warning:
miniconda3/envs/py38/lib/python3.7/site-packages/neurokit2/eda/eda_findpeaks.py:289: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
scrs = np.array(scrs)
- 解决方案:打开这个package的 eda_findpeaks.py文件,将
scrs = np.array