李東霖EXCEL運算列表grid search獲得最佳參數 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 6月 02, 2023 李東霖 運算列表 A784放置目標函數 漲幅最大 =MATCH(GA784,B784:FY784,0) match index =INDEX($B$783:$FY$783,GB784) 最大 最大的位置match找到 11205.56 73 7.3% 下跌突破點 77 7.7% 上漲突破點 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 留言
李東霖python import openpyxl 處理EXCEL 5月 18, 2023 import openpyxl #劉任昌輸入import openpyxl處理EXCEL的函式庫 book = openpyxl.load_workbook(r'wb.xlsx') #開啟EXCEL工作簿wb.xlsx print("1. 列出所有工作表名稱") sheetNames=book.sheetnames #所有工作表的集合 for name in sheetNames: print(name) print("2. 針對特定工作表, 列出前面數列") #sheet = book["python"] #for row in sheet.iter_rows(min_row=1, max_row=3, min_col=1, max_col=5, values_only=True): # print(row) print("3. 列出工作表所有內容") #sheet["F1"], sheet["G1"], sheet["H1"], sheet["I1"]="波段H","波段L","部位","損益" #sheet["F2"], sheet["G2"], sheet["H2"], sheet["I2"]=sheet["C2"].value, sheet["D2"].value, 0, 0 #for row in sheet.iter_rows(min_row=1, max_row=3, min_col=1, max_col=9, values_only=True): # print(row) #book.save() 閱讀完整內容
李東霖UTF-8,資料型態 6月 15, 2021 維基百科UTF8 劉任昌101單元 劉任昌102單元 UTF-8(8-bit Unicode Transformation Format)是一種針對Unicode的可變長度字元編碼,也是一種字首碼。它可以用一至四個位元組對Unicode字元集中的所有有效編碼點進行編碼,屬於Unicode標準的一部分。 以上內容的HTML原始碼如下 <h1>維基百科UTF8</h1> <iframe height="300" src="https://zh.wikipedia.org/wiki/UTF-8" width="100%"> </iframe> <img src="https://upload.wikimedia.org/wikipedia/commons/c/c4/Utf8webgrowth.svg" width="100%" /> <h1>劉任昌101單元</h1> <p style="text-align: left;"><iframe allowfullscreen="" class="BLOG_video_class" height="266" src="https://www.youtube.com/embed/kPGpKysVOdQ" width="320" youtube-src-id="kPGpKysVOdQ"></iframe> <h1>劉任昌102單元</h1><p style="text-align: left:"> UTF-8(8-bit Unicode Transformation Format)是一種針對Unicode的可變長度字元編碼,也是一種字首碼。它可以用一至四個位元組對Unicode字元集中的所有有效編碼點進行編碼,屬於Unicode標準的一部分。 <p> 閱讀完整內容
留言
張貼留言