Test from command line and remember most always activate a environment when work with Anaconda.
Can of course uninstall Ipython and Spyder and try reinstall or try update conda and Anaconda.
The easier way and what would suggest to use i a always use is a own environment.
This will make a basic environment and also download new version of Python 3.11.5.
(base)
is the one if not have make own.C:\anaconda3\Scripts λ activate base C:\anaconda3\Scripts (base) λ ipython --version 8.15.0 C:\anaconda3\Scripts (base) λ ipython Python 3.11.5 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:16:22) [MSC v.1916 64 bit (AMD64)] Type 'copyright', 'credits' or 'license' for more information IPython 8.15.0 -- An enhanced Interactive Python. Type '?' for help. In [1]: import numpy as np In [2]: a = np.linspace(1,36,36).reshape(12,3) In [3]: a.min() Out[3]: 1.0So if work here it's Spyder IPython Console(has own Kernel) that has the problem.
Can of course uninstall Ipython and Spyder and try reinstall or try update conda and Anaconda.
The easier way and what would suggest to use i a always use is a own environment.
This will make a basic environment and also download new version of Python 3.11.5.
conda create --name my_env -c conda-forge spyder jupyterlab pandas python=3.11.5Activate
(my_env)
and start Spyder from environment then i guess all will work fine.