2017 KK Box年度風雲歌手演唱會_五月天(Sony Nex) by 儲蓄保險王 · 2017-01-23 https://youtu.be/x5oM6znutGo https://youtu.be/4-BoLvUXeps https://youtu.be/062JTUw-sRk 相關文章Python: Spyder如何顯示空格?Tools -> Preferences: Editor -> Show blank spaces:Python 非監督式機器學習: 關聯規則; 使用 mlxtend ; 購物欄分析 ; from mlxtend.preprocessing import TransactionEncoderPython 圖片轉為純文字:Base64 編碼與還原全攻略; b64_str = base64.b64encode( img_file.read() ) .decode('utf-8')Python: any(list) 判斷list中是否有True ; all(list) 判斷list中是否全為True ; any(pandas.Series)相當於any(pandas.Series.values) ; i in pandas.Series 卻相當於於i in pandas.Series.indexPython: pandas.Series.nunique() 方法說明,計算唯一值的數量,與 len( pandas.Series.unique() ) 同效果Python PyMuPDF fitz 教學:從pdf中抓文字、抓 fonts、抓表格; pip install PyMuPDF ; import fitz ; text_dict = page.get_text("dict") #type(page) is pymupdf.Page ; blocks:list[dict] = text_dict['blocks'] ; page.find_tables().tables [0].extract() ;如何判斷粗體字?Python: 如何做矩陣乘法? numpy.matmul (ary1, ary2) 或 ary1 @ ary2 或 numpy.dot (ary1, ary2)Python: 淺拷貝(Shallow Copy)和深拷貝(Deep Copy); list切片有淺拷貝的效果 ; pandas.Series.copy(deep=True) 可對Series對向執行深拷貝Python:用numpy.polyfit()與numpy.poly1d()做多項式曲線擬和; matplotlib 如何變更legend圖例字型大小? plt.rc("legend", fontsize=16) ; ax.legend(loc = “best”, fontsize=16, handlelength=0.5, frameon = False)
0 Python-docx 進階密技:突破限制,在 Word 任意位置插入段落的三種流派: insert_paragraph_before ; body.insert(0, p_elem) #像操作 List 一樣操作文件; target_xml_node.addnext(p_new) 2026-01-05
0 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) 2022-12-14
0 Python: 如何用scipy.interpolate做內插? from scipy.interpolate import interp1d ; f = interp1d(x, y) ; 如何用numpy.polyfit() 做外插? 2023-02-13
近期留言