資料擷取與匯入 Extracting and Importing Data

Description
資料擷取與匯入 Extracting and Importing Data

Please download to get full document.

View again

of 33
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information
Category:

Gadgets

Publish on:

Views: 3 | Pages: 33

Extension: PDF | Download: 0

Share
Tags
Transcript
  資料擷取與匯入   Extracting and Importing Data  Python for Data Science Spreadsheet •  讀取 Excel 、 CSV 2 ⼀般⽂件的中⽂編碼使⽤ big5 記得選擇 sheet 需再安裝  xlrd   Notes   !   匯出成 .CSV DataFrame.to_csv(encoding=‘big5’)  Python for Data Science Database •  範例: MySQL  安裝連接資料庫套件   ( e.g. mysql-connector-python, pymongo )以 SQL 指令讀取 DB 資料   存成 DataFrame 連接資料庫連接設定   Notes   !  ** 是關鍵字引數( Keyword Argument ),若想進⼀步了解,請參考 P27 起的補充內容。 3  網路爬蟲   Web Crawler  Python for Data Science 什麼是 HTML • HTML ( HyperText Markup Language ):超⽂件標⽰語⾔   •  網⾴最基本的語⾔(常搭配 CSS 、 Javascript 等網⾴語⾔)   • tag <> 、 attribute ( e.g. bgcolor ) 5 <html> <head> <title> 網⾴標題 </title> </head> <body bgcolor=“yellow”> 您好!  </body> </html>
Related Search
Similar documents
View more...
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks