in
----> 1 sst_gradient, _ = np.gradient(selected_sst.values, float(dy) * 1e-3, 1)
<__array_function__ internals> in gradient(*args, **kwargs)
~/anaconda3/envs/myenv/lib/python3.6/site-packages/numpy/lib/function_base.py in gradient(f, *varargs, **kwargs)
1009 dx[i] = diffx
1010 else:
-> 1011 raise TypeError("invalid number of arguments")
1012
1013 edge_order = kwargs.pop('edge_order', 1)
TypeError: invalid number of arguments
--------------------------------------------------------------------------------------
can anyone help me for this
sstgradient, = np.gradient(selected_sst.values, float(dy) * 1e-3, 1)
TypeError Traceback (most recent call last)