20150102加拿大維多利亞捕獲野生海豹0 by 儲蓄保險王 · 2015-02-07 http://youtu.be/9nWvxXbSibM 相關文章Python: ModuleNotFoundError: No module named 'pip' ; 如何安裝pip套件?下載並執行get-pip.py; where python #查看python安裝路徑; python -V #查看python版本; 如何查看指定路徑python的版本?Python: Visual Studio Code (VS code) or Spyder import模組執行後,出現no module找不到指定模組錯誤, settings.json , import sys ; lst = sys.path ; sys.path.append() ;Spyder: Tools => PYTHONPATH managerPython import sys; sys.path; set PYTHONPATH= ; 環境變數; 字串前方加一個 r 是一個特殊的字串前輟旗標; Python的字串中輸入\\,輸出\ , 輸入%%,輸出%;跳脫字元(Escape Characters)Python data = numpy.zeros( (4,6,2), dtype=float) ; print(data.shape); min0 = numpy.min(a,axis=0) ; min1 = numpy.min(a,axis=1) #2次沿軸1 ; numpy.average() ;array的軸向Python: 如何做矩陣乘法? numpy.matmul (ary1, ary2) 或 ary1 @ ary2 或 numpy.dot (ary1, ary2)Python: numpy.mean(arry2d , axis=0) ; axis參數如何用? numpy.max() ; numpy.min() ; numpy.argmax() #沿軸max的index; numpy.argmin() #沿軸min的indexPython: 若符合特定條件或觸發AssertionError, 如何提前終止函式?將return置於if, elif, except AssertionError的縮排之下Python 如何做excel的樞紐分析? pandas.DataFrame.groupby() ; .agg( {column name: function name} ) ; 如何讀取多層index的xlsx檔案? df = pandas.read_excel (fpath, index_col =[0,1]) ; 如何顯示所有欄? pd.set_option ( "display.max_columns", None)Python:圖片轉文字pip install pytesseract ; pytesseract. pytesseract. tesseract_cmd
0 Python: 網路爬蟲 selenium 開啟chrome瀏覽器自動連線 ; chrome = webdriver.Chrome( options=options ) ; Python的命名慣例: 全大寫表示常數,首字大寫表示Class 2023-10-30
近期留言