佳木斯湛栽影视文化发展公司

主頁 > 知識庫 > python jupyter入門教程

python jupyter入門教程

熱門標簽:服務(wù)器配置 美圖手機 銀行業(yè)務(wù) 智能手機 網(wǎng)站文章發(fā)布 檢查注冊表項 呼叫中心市場需求 鐵路電話系統(tǒng)

Jupyter Notebook 是一個在瀏覽器中使用的交互式的筆記本,可以實現(xiàn)將代碼、文字完美結(jié)合起來,它的受眾群體大多數(shù)是一些從事數(shù)據(jù)科學(xué)領(lǐng)域相關(guān)(機器學(xué)習(xí)、數(shù)據(jù)分析等)的人員。

1.jupyter

Jupyter Notebook是一個開源的Web應(yīng)用程序,允許用戶創(chuàng)建和共享包含代碼、方程式、可視化和文本的文檔。它的用途包括:數(shù)據(jù)清理和轉(zhuǎn)換、數(shù)值模擬、統(tǒng)計建模、數(shù)據(jù)可視化、機器學(xué)習(xí)等等

2.jupyter基礎(chǔ)操作

2.1windows更新pip庫

python -m pip install --upgrade pip -i https://pypi.douban.com/simple

C:\Users\籃球>python -m pip install --upgrade pip -i https://pypi.douban.com/simple
Looking in indexes: https://pypi.douban.com/simple
Collecting pip
  Downloading https://pypi.doubanio.com/packages/ca/31/b88ef447d595963c01060998cb329251648acf4a067721b0452c45527eb8/pip-21.2.4-py3-none-any.whl (1.6 MB)
     |████████████████████████████████| 1.6 MB 1.1 MB/s
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.1.1
    Uninstalling pip-20.1.1:
      Successfully uninstalled pip-20.1.1
Successfully installed pip-21.2.4

2.2jupyter安裝

#安裝jupyter
pip install jupyter
#有錯誤提升的話,則需要安裝依賴包,No module named 'x'  x顯示什么就安裝什么依賴包
pip install maturin
#安裝插件,提高效率
pip install jupyter_contrib_nbextensions

#更新jupyter        
pip install --upgrade jupyter

2.3初次啟動jupyter

#按windows鍵+r 輸入:jupyter-notebook
#google瀏覽器  輸入:127.0.0.1:8888 或者 localhost:8888

看到這個頁面則成功!


2.4設(shè)置密碼進入jupyter

C:\&;CD jupyter
C:\jupyter>    
#windows命令創(chuàng)建文件
C:\jupyter>jupyter notebook --generate-config                 #生成文件
C:\jupyter>jupyter notebook password                          #設(shè)置密碼
x x x x

#或者查看token輸入登錄
C:\jupyter>jupyter notebook list    
#再次運行jupyter
E:\&;jupyter notebook
[W 21:12:13.097 NotebookApp] Terminals not available (error was No module named 'winpty.cywinpty')
[I 21:12:13.099 NotebookApp] Serving notebooks from local directory: E:\

[I 21:12:13.099 NotebookApp] Jupyter Notebook 6.4.3 is running at:
[I 21:12:13.102 NotebookApp] http://localhost:8888/
[I 21:12:13.102 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

看到此頁面則成功!??!


3.創(chuàng)建一個jupyter文本



4.jupyter文本的用法

4.1保存和下載文本

4.2運行和切換代碼

4.3多個代碼運行

歡迎留爪,互相探討,勇敢牛牛,不怕困難!

您可能感興趣的文章:
  • Python安裝Jupyter Notebook配置使用教程詳解
  • pycharm中jupyter的使用圖文教程
  • Jupyter notebook快速入門教程(推薦)
  • jupyter notebook快速入門及使用詳解
  • python入門jupyter基礎(chǔ)操作及文本用法

標簽:新疆 沈陽 滄州 樂山 上海 長治 紅河 河南

巨人網(wǎng)絡(luò)通訊聲明:本文標題《python jupyter入門教程》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266
    青神县| 壶关县| 塘沽区| 太湖县| 浠水县| 大安市| 洪雅县| 如皋市| 湟中县| 宜城市| 安吉县| 丹东市| 夏河县| 阿拉善右旗| 大名县| 嘉兴市| 随州市| 灵川县| 抚宁县| 平罗县| 禄劝| 临颍县| 弥渡县| 江门市| 来凤县| 乐陵市| 太原市| 同德县| 湖北省| 中超| 宜阳县| 手机| 涪陵区| 乌鲁木齐县| 和静县| 滁州市| 平远县| 根河市| 高唐县| 晴隆县| 普安县|