Patreon:
https://www.patreon.com/kfsoft第2版已發布,加入/重製了約 1 小時新內容,擴展了Column部分,涉及替換/更新資料:
https://www.youtube.com/watch?v=w76oa7YzvkYDoing data science with python:
1) Pandas basics: Series & DataFrame
2) Tips dataset, SQL equivalent pandas methods
Files:
https://github.com/learn10kYear/learn-pandas/tree/master/lab2Cheat sheet from pandas.pydata.org:
https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf00:00 Introduction
00:34 PART1 - Pandas basics: Tubular data, Series & DataFrame
02:27 Install & import pandas
04:22 Series: 1d-list structure, with index
10:28 DataFrame: 2d-table structure, with index & columns
25:17 DataFrame - column: dot notation, fancy index, filter() by columns
30:33 DataFrame - column: new column, mean(), medium(), max(), idxmax(), update values, str functions
38:09 DataFrame - column: map() to update column data
41:31 DataFrame - column: drop() to a column
45:22 DataFrame - row: slice, filter() by rows
49:57 DataFrame - row: indexer - loc (label), iloc (position)
50:54 DataFrame - row: loc (label) indexer - df.loc[row, col]
57:15 DataFrame - row: iloc (position) indexer - df.iloc[row, col]
01:01:33 DataFrame - row: use boolean mask to retrieve records
01:05:10 DataFrame - row: query() to retrieve records
01:09:48 DataFrame - row: missing values handling
01:12:34 DataFrame - row: groupby() and agg()
01:15:27 DataFrame - row: groupby multiple columns VS pivot_table()
01:20:07 DataFrame - row: sort_values(), by multiple columns with different directions
01:22:24 PART 2 - Tips dataset: use pandas on a dataset
01:24:00 Tips Dataset: import packages & read tips dataset
01:28:58 SQL equivalent - SELECT: fancy index, filter(), loc, iloc
01:32:29 SQL equivalent - SELECT: with new column
01:33:37 SQL equivalent - WHERE: boolean mask, query()
01:35:17 SQL equivalent - WHERE multiple conditions: and, or
01:38:14 SQL equivalent - NULL handling: isnull(), isna(), notna()
01:39:26 SQL equivalent - GROUPBY: single field groupby, and apply agg functions
01:43:16 SQL equivalent - GROUPBY: multiple field groupby
01:44:23 SQL equivalent - JOIN: inner (intersection) / outer (union) - on='column', how='inner/outer'
01:47:33 SQL equivalent - JOIN: left (keep LHS) / right (keep RHS) - on='column', how='left/right'
01:49:08 SQL equivalent - UNION: pd.concat([ds1, ds2]).drop_doplicates()
01:50:21 SQL equivalent - UPDATE: df.loc, map()
01:53:07 SQL equivalent - DELETE: boolean mask method
01:56:05 Save DataFrame to a file
01:57:28 Plot graph - df.plot()
01:58:00 Summary & conclusion
Python入門:第1課 - PyCharm + Data Types
https://youtu.be/s9toTBXQSPEPython入門:第2課 - Python containers (1): List, Tuple
https://youtu.be/7hm0zHgEGZ4Python入門:第3課 - Python containers (2): Dictionary & Set
https://youtu.be/7Jvfd6qFLzUPython入門:第4課 - If-Else, Looping, Try-except
https://youtu.be/sXdh5L5rcX0Python入門:第5課 - Function + File
https://youtu.be/rk8kU3no5NoPython入門:第6課 - Class and Object
https://youtu.be/HPb0Lg3FQfMPython入門:第7課 - URL, JSON, Sqlite
https://youtu.be/93lOZTxJtrsPython入門:第8課 - 用Flask進行Web開發
https://youtu.be/Z4CR3rwVkGcPython入門:第9課 - Flask + DB ORM
https://youtu.be/ZQoBdEH1zowPython入門:第10課 - Flask補充1
https://youtu.be/AC23QWvFNWIPython入門:第11課 - Flask補充2
https://youtu.be/-PkZ8sGhm-UPython入門:Apache 安裝Flask app - mod_wsgi
https://youtu.be/E6dqWawzc14Python入門:第12課 - GUI (Tkinter) + PyInstaller 打包EXE
https://youtu.be/_-LKQvmG8Uc1Python入門:第13課 - More loops - Iterable Vs Iterator
https://youtu.be/xKPK6CRnBT4Python入門:第14課 - More loops - Generator
https://youtu.be/sl3seUetRkAPython初級:第15課 - Web Scraping 靜態網頁抓取
https://youtu.be/_LRfuctPLdsPython初級:第16課 - Web Scraping 動態網頁抓取
https://youtu.be/lXwgSweHf5QPython初級:第17課 - Pygame貪食蛇遊戲
https://youtu.be/kaDEcF5LTWUPython初級:openpyxl - 讀寫 MS Excel 文件
https://youtu.be/tjcJV2fur5gPython初級:python-docx - 讀寫 MS Word 文件
https://youtu.be/PEKWb5R3sSUPython入門 - 數據科學 - Jupyter Lab & Notebook 安裝+入門教程
https://youtu.be/niWD8kxgpH0Python入門 - 數據科學 - Anaconda + PyCharm 安裝
https://youtu.be/H4ihRvtdY7MPython初級 - 數據科學 - Numpy入門
https://youtu.be/t7ygnafk760Python初級 - 數據科學 - Pandas入門
https://youtu.be/ZYjhM7J9eFQPython初級 - 數據科學 - Pandas入門 (第二版 更新column部分)
https://youtu.be/w76oa7YzvkYPython初級 - 數據科學 - Pandas時間 + 圖表
https://youtu.be/jrd8shHEVFQPython初級 - 數據科學 - Pandas類別 + 樣式
https://youtu.be/4ntwbAWnKbgDatabase初級:SQL入門
https://youtu.be/OtM74u3Fbw0Database初級:JOIN連接
https://youtu.be/tpDvgr7qHswDatabase初級:MongoDB入門
https://youtu.be/XTqW3oOt3PsPython初級 - 機器學習 - Scikit-learn 入門
https://youtu.be/3m8Bb01uNNEPython初級 - 機器學習 - Scikit-learn - Regression 回歸
https://youtu.be/QyYZT8o-f3UPython初級 - 機器學習 - Scikit-learn - Classification 分類
https://youtu.be/JKn0OoHSoRoPython初級 - 機器學習 - Scikit-learn - Clustering 聚類+降維
https://youtu.be/UgXyK-k-CgMPython初級 - 識別篇 - 光學文字辨識OCR + Google翻譯
https://youtu.be/UT7A-Y_FXlgPython初級 - 識別篇 - TTS + 語音辨識
https://youtu.be/dGY9en_z5bQhttps://kfsoft.infoAbout the Site 🌐
This site provides links to random videos hosted at YouTube, with the emphasis on random. 🎥
Origins of the Idea 🌱
The original idea for this site stemmed from the need to benchmark the popularity of a video against the general population of YouTube videos. 🧠
Challenges Faced 🤔
Obtaining a large sample of videos was crucial for accurate ranking, but YouTube lacks a direct method to gather random video IDs.
Even searching for random strings on YouTube doesn't yield truly random results, complicating the process further. 🔍
Creating Truly Random Links 🛠️
The YouTube API offers additional functions enabling the discovery of more random videos. Through inventive techniques and a touch of space-time manipulation, we've achieved a process yielding nearly 100% random links to YouTube videos.
About YouTube 📺
YouTube, an American video-sharing website based in San Bruno, California, offers a diverse range of user-generated and corporate media content. 🌟
Content and Users 🎵
Users can upload, view, rate, share, and comment on videos, with content spanning video clips, music videos, live streams, and more.
While most content is uploaded by individuals, media corporations like CBS and the BBC also contribute. Unregistered users can watch videos, while registered users enjoy additional privileges such as uploading unlimited videos and adding comments.
Monetization and Impact 🤑
YouTube and creators earn revenue through Google AdSense, with most videos free to view. Premium channels and subscription services like YouTube Music and YouTube Premium offer ad-free streaming.
As of February 2017, over 400 hours of content were uploaded to YouTube every minute, with the site ranking as the second-most popular globally. By May 2019, this figure exceeded 500 hours per minute. 📈
List of ours generators⚡
Random YouTube Videos Generator
Random Film and Animation Video Generator
Random Autos and Vehicles Video Generator
Random Music Video Generator
Random Pets and Animals Video Generator
Random Sports Video Generator
Random Travel and Events Video Generator
Random Gaming Video Generator
Random People and Blogs Video Generator
Random Comedy Video Generator
Random Entertainment Video Generator
Random News and Politics Video Generator
Random Howto and Style Video Generator
Random Education Video Generator
Random Science and Technology Video Generator
Random Nonprofits and Activism Video Generator