發表文章

吳丞傑排序RANK百分比PERCENTRANK百分位PERCENTILE

圖片
證券代碼 董事長 員工人數-母公司 實收資本額(元) 設立日期 TSE上市日 會計師事務所 百分比 排序 "=RANK(F2,$C$2:$C$12,0-1)" 1101 台泥 張安平 1217 77231817420 19501229 19620209 勤業眾信聯合會計師事務所 80.00% 3 9 58 0 0對多 58 1102 亞泥 徐旭東 480 35465628810 19570321 19620618 勤業眾信聯合會計師事務所 50.00% 6 6 227 0.25 0.1對58 89 1103 嘉泥 張剛綸 89 7902474590 19541213 19691127 勤業眾信聯合會計師事務所 10.00% 10 2 974 0.75 1104 環泥 侯博義 536 6866818160 19600321 19710202 勤業眾信聯合會計師事務所 60.00% 5 7 2999 1 73.5 1108 幸福 陳韻如 399 4047380000 19740507 19900606 勤業眾信聯合會計師事務所 40.00% 7 5 "=PERCENTILE(員工人數_母公司,n6)" 1109 信大 楊智雄 347 3411588680 19640315 19911205 資誠聯合會計師事務所 30.00% 8 4 人工人數要多少,才可以勝過95%公司 1110 東泥 陳敏斷 58 5720007970 19561228 19941022 國富浩華聯合會計師事務所 0.00% 11 1 2203 0.95 1407 0.9 1201 味全 徐文芳 1407 5060629000 19530922 19620209 資誠聯合會計師事務所 90.00% 2 10 "=PERCENTILE(員工人數_母公司,n9)" 1203 味王 陳清福 731 2400000000 19590704 19640824 大中國際聯合會計師事務所 70.00% 4 8 使用內插法估計,1對2999下一個0.9到1407 1210 大成 韓家宇 2999 8947672220 19601228 19780520 安侯建業聯合會計師事務所 100.00%...

吳丞傑Pandas.describe.EXCEL.percentrank.percentile 3月 16, 2026

圖片

吳丞傑python+csv+pandas

圖片
WIDTH="100%" HEIGH='500' import pandas rows = pandas.read_csv('TWSE.csv',encoding = 'utf-8') print(rows.head(4)) print(rows['會計師事務所'].describe()) AVRAGE 1517.346337 STDEV 5004.547607 MIN 9 QUARTILE 158 第一四分位 =QUARTILE(範圍,1) MEDIAN 411 第二四分位 QUARTILE 987 第三四分位 =QUARTILE(範圍,3) MAX 70037
import tkinter import random GAME_WIDTH,GAME_HEIGHT = 600, 400 SPEED = 1000 SPACE_SIZE, BODY_PARTS= 50, 3 SNAKE_COLOR = ["red","orange","yellow","green","blue","indigo", "purple"] FOOD_COLOR = "white" BACKGROUND_COLOR = "black" class Snake: def __init__(self): self.body_size = BODY_PARTS self.coordinates = [] self.squares = [] for i in range(0, BODY_PARTS): self.coordinates.append([0, 0]) for x, y in self.coordinates: i = random.randint(0,6) square = canvas.create_rectangle(x, y, x + SPACE_SIZE, y + SPACE_SIZE, fill=SNAKE_COLOR[i], tag="snake", width=20,outline='blue') self.squares.append(square) class Food: def __init__(self): x = random.randint(0, int(GAME_WIDTH / SPACE_SIZE)-1) * SPACE_SIZE y = random.randint(0, int(GAME_HEIGHT / SPACE_SIZE) - 1) * SPACE_SIZE ...

吳丞傑期末考為python貪吃蛇增加速度

圖片
from tkinter import * import random GAME_WIDTH,GAME_HEIGHT = 800, 400 SPEED = 1000 #時間單位千分之一 SPACE_SIZE, BODY_PARTS= 50, 3 #左邊變數 assigning value SNAKE_COLOR = ["red","orange","yellow","green","blue","indigo", "purple"] FOOD_COLOR = "white" BACKGROUND_COLOR = "black" class Snake: def __init__(self): self.body_size = BODY_PARTS self.coordinates = [] self.squares = [] for i in range(0, BODY_PARTS): self.coordinates.append([0, 0]) for x, y in self.coordinates: i = random.randint(0,6) square = canvas.create_rectangle(x, y, x + SPACE_SIZE, y + SPACE_SIZE, fill=SNAKE_COLOR[i], tag="snake", width=20,outline='blue') self.squares.append(square) class Food: def __init__(self): x = random.randint(0, int(GAME_WIDTH / SPACE_SIZE)-1) * SPACE_SIZE y = random.randint(0, int(GAME_HEI...

吳丞傑Python百科

圖片
CSS=Cascading Style Sheet=階層樣式表單。 HTML語法是小於 前後包圍,對稱指令,結束的加上斜線SLASH /。HTML = HyperText Markup Language,超文件標記語言。 維基百科Python程式語言 Python語法中的複合語句,包含了一些其他語句,它們以某種方式影響或控制這些其他語句的執行。Python的複合語句包含一個或多個子句(clause),子句構成自一個頭部(header)和一個套件(suite)。特定複合語句的子句頭部都在同樣的縮排層級上,每個子句頭部開始 於一個唯一標識關鍵字,並結束於一個冒號。套件即語法意義上的塊,是這個子句所控制的一組語句。 Python uses whitespace indentation(空白鍵縮排), rather than curly brackets or keywords(而不是使用大括號), to delimit blocks(來界定區段). An increase in indentation comes after certain statements; a decrease in indentation signifies the end of the current block.[82] Thus, the program's visual structure accurately represents its semantic structure.[83] This feature is sometimes termed the off-side rule. Some other languages use indentation this way; but in most, indentation has no semantic meaning. The recommended indent size is four spaces. 教學影片622

吳丞傑Python_HTML_CSS_Javascript

圖片
Javascript在網頁就可以執行不需要開啟VS Code 吳丞傑執行 吳執行