|NO.Z.00037|——————————|^^ 配置 ^^|——|Hadoop&Python.v01|——|Arithmetic.v01|Pandas数据分析库:Pandas模块安装|
一、Pandas模块安装
Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of life.It sinks, and I am ready to depart ——W.S.Landor
### --- 在windows.dos下安装pandas
C:\Users\Administrator>pip install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple
~~~输出参数
Installing collected packages: pytz, pandas
Successfully installed pandas-1.3.5 pytz-2021.3
### --- 在windows.dos下安装juterpy.Excel插件
### --- Excel读库
C:\Users\Administrator>pip install xlrd -i https://pypi.tuna.tsinghua.edu.cn/simple
### --- Excel写入库
C:\Users\Administrator>pip install xlwt -i https://pypi.tuna.tsinghua.edu.cn/simple
### --- OR
C:\Users\Administrator>pip install openpyxl -i https://pypi.tuna.tsinghua.edu.cn/simple
### --- 在windows.dos下安装HDF5库
C:\Users\Administrator>pip install tables -i https://pypi.tuna.tsinghua.edu.cn/simple
### --- 登录mysql数据库
C:\Users\Administrator>net start mysql57
C:\Users\Administrator>net stop mysql57
C:\Users\Administrator>mysql -uroot -p123456
### --- 在windows.dos下安装SQL库
C:\Users\Administrator>pip install sqlalchemy -i https://pypi.tuna.tsinghua.edu.cn/simple
C:\Users\Administrator>pip install pymysql -i https://pypi.tuna.tsinghua.edu.cn/simple
### --- 在windows.dos下安装数据可视化库
C:\Users\Administrator>pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
二、启动jupyter终端
### --- 启动jupyter终端
### --- Windows----> 快捷键:win + R ----->输?:cmd回?------>命令?出来
### --- Mac ---->启动终端
### --- 进?终端输?指:jupyter notebook
### --- 在哪?启动jupyter启动,浏览器上的?录,对应哪?
C:\Users\Administrator>jupyter notebook
~~~输出参数
[I 17:21:16.374 NotebookApp] Serving notebooks from local directory: C:\Users\Administrator
[I 17:21:16.374 NotebookApp] Jupyter Notebook 6.4.6 is running at:
[I 17:21:16.374 NotebookApp] http://localhost:8888/?token=b1a378829d841e05b9c87dc6dce9632cd572504c1400538a
[I 17:21:16.374 NotebookApp] or http://127.0.0.1:8888/?token=b1a378829d841e05b9c87dc6dce9632cd572504c1400538a
[I 17:21:16.374 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 17:21:16.444 NotebookApp]
To access the notebook, open this file in a browser:
file:///C:/Users/Administrator/AppData/Roaming/jupyter/runtime/nbserver-10000-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=b1a378829d841e05b9c87dc6dce9632cd572504c1400538a
or http://127.0.0.1:8888/?token=b1a378829d841e05b9c87dc6dce9632cd572504c1400538a
三、在浏览器下可以查看到jupyter的启动
Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of life.It sinks, and I am ready to depart ——W.S.Landor