20140817_17_HX400V_宜蘭國際童玩節_俄羅斯 by 儲蓄保險王 · 2014-09-02 20140817_17_HX400V_宜蘭國際童玩節_俄羅斯 http://youtu.be/7NEYuM8Rhjs 相關文章Python: 十進位的67305985是二,八,十六進位的多少?二進位前綴0b ; 八進位octal (前綴0o) ; 十六進位hexadecimal(前綴0x) ;前綴可將二,八,十六進位數字轉為十進位 ; 十進位數字轉為二,八,十六進位: bin(number) ; oct(number) ; hex(number)Python機器學習: train_test_split() 切割資料(波士頓地區房價)為訓練資料跟測試資料; from sklearn.model_selection import train_test_split ; xtrain, xtest, ytrain, ytest = train_test_split(x, y, test_size=0.3, random_state=42, shuffle=True)Python: 如何檢查NaN(Not a Number)? 為什麼 np.nan == np.nan 返回 False? numpy.isnan() ; pandas.isna() ; pandas.isnull() ; np.isnan() 只能處理數值型資料(np.nan) ; pd.isna() , pd.isnull() 除了np.nan以外,還可以處理None, pd.DataFrame, pd.SeriesPython IDE(Integrated Development Environment 整合開發環境) colab如何掛載雲端硬碟?from google.colab import drive; drive.mount( '/content/drive' ) ; 檔案複製shutil.copy() #shell utility; 檔案移動shutil.move( source_file, destination_path); 刪除整個資料夾shutil.rmtree( folder_to_delete ); 刪除某一個檔案os.remove() #shutil.remove()會觸發AttributeError; 如何將檔案路徑拆分為父資料夾與檔案名稱(含副檔名)? os.path.dirname( file_path) ; os.path.basename( file_path) 如何將檔案名稱拆分為主檔名與副檔名? os.path.splitext( file_name) #split(分裂) ext的意思用 python-docx 刪除多個章節:最簡教學(半開區間 + 元素引用去重策略)Python: 如何使用speech_recognition 將wav檔轉為文字?with sr.AudioFile(p) as source: audio = r.record(source) ; 如何使用mic當音源? with sr.Microphone() as source: audio_data = recognizer.listen(source)Python Pathlib 實戰:優雅地篩選多種圖片檔案; images = [f for f in p.glob("*") if f.suffix.lower() in img_extensions]Python如何讀取excel檔(.xlsx)?如何用欄標籤提取某一直行?df=pandas.read_excel() ; df["欄標籤"]Python: 如何用pandas.read_csv() 讀取逗點分隔檔並忽略空列,跳過某些列? dfRaw = pd.read_csv (fpath, skip_blank_lines = True, skiprows =6)
0 Python: 淺拷貝(Shallow Copy)和深拷貝(Deep Copy); list切片有淺拷貝的效果 ; pandas.Series.copy(deep=True) 可對Series對向執行深拷貝 2024-10-26
0 Python如何串接OpenAI /Claude /Gemini API自動將大量維修紀錄JSON轉自然語言描述(並避免中斷資料遺失)response = client.chat.completions.create() ; reply = response.choices[0].message.content 2025-07-15
近期留言