2024 iThome 鐵人賽
Share More Gain More
Python
選手 80 文章 1490
Day 17
2024-09-28
311
0
使用 Python 的 math 模組,可以簡單地解決一些常見的數學問題。以下是幾個示例,展示如何運用 math 模組解答常見的數學題目。 math()運用 1...
Day 29
2024-09-29
310
0
KNN 演算法(一):電影分類應用 1. 規劃特徵值 首先,我們要有一些描述電影的特徵,可以包括: 電影時長:這部電影有多長?這是數值型特徵,單位是分鐘。...
Day 2
2024-09-16
310
0
Python 對於初學者來說,環境配置可能會有些複雜,這時 Google Colaboratory(簡稱 Colab)就提供了一個簡單且即時可用的選擇。Cola...
Day 10
2024-08-13
310
0
安裝Flask pip install flask 建構資料夾static/imagestemplates/index.html <!DOCTYPE h...
Day 12
2024-09-20
309
0
前面介紹過 Sereis 和 DataFrame 這兩個物件了,Pandas 另外還有提供 Panal 這個物件來處理多維的資料,但因為不常用到所以這裡就不介紹...
Day 8
2024-09-21
309
0
不同的編碼方式,在解碼的時候,可能導致亂碼,如下圖所示: Python 請先執行: def decode1(): x = input() a =...