How to display Chinese characters in Matplotlib with Windows/Jupyter

I asked ChatGPT to generate a sample list of Tang Dynasty Poets from the book of 300 poems. It gave me this – it had some duplicates and one Song Dynasty poet in it. import pandas as pd data = [ {“English Name”: “Li Bai”, “Chinese Name”: “李白”, “Dates”: “701-762”}, {“English Name”: “Du Fu”, “Chinese Name”: “杜甫”, “Dates”: “712-770”}, {“English […]

Windows – how to start Jupyter notebook without anaconda

So, you pip installed Jupyter.  Thinking – hey don’t have to start up Anaconda environment to run it. C:\Users\jonallen\Documents\github\weather_obs>pip install jupyter Collecting jupyter Downloading jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB) Collecting ipywidgets Downloading ipywidgets-7.6.3-py2.py3-none-any.whl (121 kB) |████████████████████████████████| 121 kB 3.3 MB/s Collecting notebook Downloading notebook-6.4.3-py3-none-any.whl (9.9 MB) |████████████████████████████████| 9.9 MB 234 kB/s Collecting jupyter-console Downloading jupyter_console-6.4.0-py3-none-any.whl (22 kB) Collecting nbconvert Downloading nbconvert-6.1.0-py3-none-any.whl (551 […]

Graviton – getting python pandas to work

Procedure  I reviewed the packages available – yum list – output of ‘yum list’ see numpy and scipy but no pandas – means we might have to compile. 2.   Install  development packages root@graviton~]# sudo yum install “@Development tools” python3-pip python3-devel blas-devel gcc-gfortran lapack-devel …. Installed: autoconf.noarch 0:2.69-11.amzn2 automake.noarch 0:1.13.4-3.1.amzn2 bison.aarch64 0:3.0.4-6.amzn2.0.2 byacc.aarch64 0:1.9.20130304-3.amzn2.0.2 cscope.aarch64 0:15.8-10.amzn2.0.2 ctags.aarch64 0:5.8-13.amzn2.0.2 diffstat.aarch64 0:1.57-4.amzn2.0.2 doxygen.aarch64 […]