20140817_08_HX400V_宜蘭國際童玩節_土耳其 by 儲蓄保險王 · 2014-08-26 20140817_08_HX400V_宜蘭國際童玩節_土耳其 http://youtu.be/VUXrGD8cN4w 相關文章Python: 如何串接chatGPT? import openai ; res = openai.Completion.create() ; 如何處理unicode?Python: 如何計算全文件詞頻(term frequency,簡稱TF)與逆向檔案頻率(Inverse Document Frequency,簡稱 IDF)?Python: 前綴f string 格式化字串 hex_string = f'0x{value :02x}' #:02x or :08b是格式化說明符(format specifier) ; hex() or bin() #轉為16 or 2進位數字,會省略前導0Python:圖片轉文字pip install pytesseract ; pytesseract. pytesseract. tesseract_cmdPython爬蟲: Selenium 的 expected_conditions 與 例外狀況; from selenium.webdriver.support import expected_conditions as EC ; from selenium.common.exceptions import NoSuchElementException, TimeoutExceptionPython: pandas.DataFrame (df) 的取值: df [單一字串] 或df [list_of_strings] 選取一個或多個columns; df [切片] 或 df [bool_Series] 選取多個rows #bool_Series長度同rows, index也需要同df.index ,可以使用.equals() 確認: df.index.equals(mask.index)正則表示法(Regular Expression): 如何使用命名捕獲組將字串整理為dict?match.groupdict() ; NAME: sensor-count STATUS: PASSED VALUE: 129 LL: 129 UL:Python: 如何調整輸出的xlsx檔,套用最適col width / row height? cell.alignment = Alignment( wrap_text = True)Python: pandas.Series.nunique() 方法說明,計算唯一值的數量,與 len( pandas.Series.unique() ) 同效果
0 Python: 字典方法 .pop() 與 .get() 的使用指南; dict.pop() 支援第二個參數#key不存在的話,返回第二個參數, list.pop() 不支援第二個參數 2024-12-02
0 Python: 如何用numpy.ndarray的reshape 將3D array轉為2D array,再轉為pandas.DataFrame? arr.reshape( arr.shape[0] * arr.shape[1] , -1) 2023-03-19
近期留言