#pandas
15 posts tagged pandas. All posts
Seaborn basics: statistical plots from pandas DataFramesHow to make scatter, distribution, categorical and correlation plots with Seaborn 0.13, plus the figure-level vs axes-level split that trips people up.
Pandas basics: create, select, filter, sort and group DataFramesPandas basics in Python: build DataFrames and Series, load a CSV, then select, filter, sort and group rows, with a note on Copy-on-Write and .loc.
Chapter 10: Introduction to data science in PythonWhat data science is, how it differs from data analytics, and three starter examples using matplotlib, pandas, and requests.
Scraping HTML tables with pandas and Beautiful SoupPull an HTML table into a pandas DataFrame with read_html, parse it by hand with Beautiful Soup when that fails, then clean it and save it as CSV.
How I implemented a stock screener in Python, part I: scanner interface and ticker listPart I of my Python stock screener, covering a shared scanner interface and a class that loads Canadian and US tickers as Yahoo Finance symbols.
Scraping Super Bowl winners from ESPN with pandasUse pandas.read_html to pull ESPN's Super Bowl winners, MVPs and touchdown leaders tables, clean the headers, and plot how often each stadium hosted.
Downloading CSE company filings with Python and posting them to DiscordA Python script that uses cad_tickers to find new documents for CSE-listed stocks, saves the PDFs, and posts each one to a Discord webhook.
Scraping HTML tables with pandas read_html and BeautifulSoupPull an HTML table into a DataFrame with pandas.read_html, pick the right table with match=, and use BeautifulSoup for data held in class attributes.
Scraping Indeed job listings with BeautifulSoup and pandas (no longer works)My old Indeed scraper, which pulled job listings into pandas, tagged skills and degrees with regex, and emailed charts via Mailjet, until Cloudflare blocked it.
Natural gas futures in Python: quarterly averages and moving averages with yfinanceDownload Henry Hub natural gas futures with yfinance, compute quarterly and rolling averages in pandas, and use them to sanity-check a gas producer.
Streamlit and OpenBB part II: Donchian Channels and st.cache_dataAdding a Donchian Channels chart to my Streamlit technical analysis app, moving from st.cache to st.cache_data, and a caching bug in the file-cleanup decorator.
How I generate premarket stock reports with Python, PyLaTeX and DiscordMy pipeline for premarket stock reports, pulling market events, Reddit posts and economic data into a PyLaTeX document and posting it to Discord.
Building a Bollinger Bands web app with Streamlit and the OpenBB SDKHow my Streamlit app loaded stock prices with the OpenBB SDK, rendered OpenBB's Bollinger Bands chart as an image, and what to use now that the SDK is retired.
Asking Bing Chat to convert a Streamlit app to DashI asked Bing Chat to port my Streamlit technical analysis app to Plotly Dash. What it got right, where its code broke, and a working Dash version.
Stock technical analysis dashboard with Streamlit, yfinance and pandas-taA small Streamlit app that downloads prices with yfinance and charts SMA, EMA, Bollinger Bands, RSI and price-volume using pandas-ta.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)