Word雙欄獨立頁碼 by 儲蓄保險王 · 2022-03-22 Word雙欄獨立頁碼: 插入點置於第頁之間,按Ctrl+F9兩次, 最裡層輸入page,外層輸入=及*2-1, 複製至右欄,改為*2 選取左右欄設定好之功能變數按shift+F9 頁尾點擊兩下 進入頁首頁尾模式 功能變數的 { } 需要用Ctrl + F9 打出來 不能自己key 需注意半形空白的位置 key好左右兩欄的功能變數後 選取之 shift + F9 Word雙欄獨立頁碼 成果如下: 相關文章Python:如何用pandas.concat() 合併兩個DataFrame並重置index? pd.concat([df1, df2]) .reset_index(drop=True) ; pd.concat([df1, df2], ignore_index=True)Python TQC考題906 字串資料取代, datanew = data.replace (strold, strnew), f.write(datanew)Python: 如何在matplotlib畫的圖添加文本或註釋? ax.text() 跟 ax.annotate() 有何差別? ax.annotate(f'max value={y_max:.2f}', xy=(x_max, y_max), xytext=(x_max-0.5, y_max-0.5), fontsize=12, arrowprops=dict(arrowstyle='->', connectionstyle='arc3', color='r'))Python爬蟲: 理解 response.text 與 BeautifulSoup 對象之間的關鍵區別 from bs4 import BeautifulSoup as bs ; response = requests.get(url) ; soup = bs(response.text) ; bs4.element.Tag .find_all() ; .select() ; .find() 差別為何?soup是大HTML, tag是小HTML,可以使用相同的方法Python如何做excel的樞紐分析? groupbyObj = df.groupby(['A', 'B']) ; groupbyObj.apply() 跟 groupbyObj.agg() 差異為何? result = groupbyObj .apply( function(df) -> Series ) ; result_agg = groupbyObj .agg( ['mean', 'std'] ) ; aggfunc(Series) -> float20140817_17_HX400V_宜蘭國際童玩節_俄羅斯Excel Vlookup函數第四個關鍵參數該用TRUE(1)還是FALSE(0)?你知道為何老是搜尋錯誤嗎?Python: 如何解析網址? from urllib.parse import urlparse, parse_qsPython TQC考題604 眾數, cnt[L.index(n)]+=1, L[cnt.index(max(cnt))], if L.count(n)>maxcnt:
0 Python如何讀取json檔?dic = json.loads( json_str ) ; json的保留字:null, true, false(區分大小寫,全小寫), null(非”null”,非Null)自動轉譯為None, true(非”true”,非True)自動轉譯為True(bool), false(非”false”,非False)自動轉譯為False(bool);colab如何掛載雲端硬碟? from google.colab import drive ; json檔的decode與encode? json.load() ; json.loads() ; json.dump() ; json.dumps() #s代表string的意思,有s的指令,參數需使用str type 2023-07-11
0 Python: pandas, import pandas as pd ; s =pd.Series() ; s.index ; s.values; 類比於dict.keys ; dict.values ; Series有index跟value,可以跟dict互轉;同list的切片可以取值 2022-11-09
0 Python / VS Code UTF-8 BOM (Byte Order Mark) 教學; Path .read_text( encoding = “utf-8-sig”) ; `Ctrl+Shift+P` => `Preferences: Open User Settings (JSON)` => “files.encoding”: “utf8” 2026-05-12
近期留言