Tom's BlogTom's Blog
HomeArchivesCategoriesTagsAbout
  • Tags
  • Project
Posted 2019/09/14Updated 2021/09/28Backend3 minutes read (About 498 words)

[Python] 實戰系列 - 抓取台灣銀行牌告匯率寫入MySQL

前言

本篇主要紀錄學習過pandas、檔案寫入、MySQL後做整合。

實作步驟:

  1. pandas讀取html的table標籤,轉為dataframe
  2. 處理dataframe
  3. 篩選目標欄位,並更改欄位名稱
  4. 更改某欄位的值
  5. 轉為.csv並存入MySQL
Read more
Tsung Yu Chen

Tsung Yu Chen

Taiwan

Posts

109

Categories

8

Tags

49

Recents

2022/11/12

[Github Action] 整合 AWS OIDC 進行 CI/CD 安全強化

DevOps

2022/06/29

[Postgres] 資料庫的索引(Index)

Backend

2022/06/20

[Postgres] 資料庫裡的儲存概念

Backend

2022/01/15

[Redis] 提高 Redis 執行效率的方法 - Pipeline

Backend

2022/01/11

[Redis] Redis - Transaction

Backend

Tom's BlogTom's Blog

© 2023 Tsung Yu Chen  Powered by Hexo & Icarus

×