Excel TQC考題506: 分頁列印報表,檔案>選項>進階>編輯自訂清單 by 儲蓄保險王 · 2022-04-15 Excel TQC考題506: 分頁列印報表 簡單的部分略過 題目: 檔案>選項>進階>編輯自訂清單 在最底頁 排序: 點右下角ICON進入 分頁預覽 拉動藍線跟插入分頁 交互使用 相關文章告別雜亂 XML!用 Python lxml 實現與 VS Code (Shift+Alt+F) 同級的「完美縮排」; from lxml import etree ; root = etree.fromstring(xml_bytes) #等效 root = etree.fromstring( xml_str.encode("utf-8") ); clean_xml_str = etree.tostring(root, pretty_print=True, encoding='unicode', xml_declaration=False) ; import xml.etree.ElementTree as ETPython 正則表示法:零寬斷言實戰指南 (?=p) 正向先行 ; (?!p) 負向先行 ; (?<=p) 正向回顧 ; (?<!p) 負向回顧python Graphviz中控制子圖(子圖可以僅含一個node)垂直位置教學: rank='sink' ; rank='source' ; rank='same' ; 為子圖的屬性,在node中設定無效 ; 不可與g.attr(newrank='true') #子圖同高度 一起使用; with g.subgraph() as s: s.attr(rank='sink') # 設置子圖為sink ; s.node('Logo', 'Company Logo')Python機器學習: 從特徵工程到數據擬合 PolynomialFeatures 與 numpy.polyfit 的全面比較與應用; from sklearn.preprocessing import PolynomialFeatures ; poly = PolynomialFeatures( degree=2, include_bias = True) ; X_poly = poly.fit_transform(X)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 狀態機重編號 Word 標題:安全更新章節號不掉圖片的正統策略; str.isdigit() ; str.isspace() ; str.isalpha()Python tensorflow深度學習中的過擬合防治:早停策略,動態調整學習率,Dropout,正則化調整lossPython 實戰:別再搞混 isinstance 與 issubclass —以 python-docx 為例; 比 issubclass 更誠實的族譜 — 深入 mro() #Method Resolution OrderPython: 如何在Excel儲存格中自動換行? cell.alignment = openpyxl.styles.Alignment( wrapText =True) #pd.DataFrame.from_dict
0 Python: Visual Studio Code (VS code) 程式碼input(),終端機卻無法輸入資料且顯示亂碼,該如何設定?齒輪 > 設定,搜尋: run in terminal, 打勾: Wether to run code in integrated Terminal. 2022-09-08
0 Python: pandas.DataFrame reshape重新排列(樞紐分析): stack() ; unstack() #可用idxmax()求最大值的index/columns ; groupby().mean().reset_index() ; pivot() ; pivot_table( aggfunc = np.mean ) ; set_index() ; pivot_table = groupby + pivot #pivot_table() 有aggfunc參數,所以索引組合可以重複,pivot則無此參數,若有重複的索引組合,需要先用groupby().mean() 2023-04-18
近期留言