Thomas Reid, Author at Towards Data Science https://towardsdatascience.com Publish AI, ML & data-science insights to a global community of data professionals. Mon, 15 Dec 2025 13:17:00 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.3 https://towardsdatascience.com/wp-content/uploads/2025/02/cropped-Favicon-32x32.png Thomas Reid, Author at Towards Data Science https://towardsdatascience.com 32 32 Geospatial exploratory data analysis with GeoPandas and DuckDB https://towardsdatascience.com/geospatial-exploratory-data-analysis-with-geopandas-and-duckdb/ Mon, 15 Dec 2025 13:17:00 +0000 https://towardsdatascience.com/?p=607897 In this article, I’ll show you how to use two popular Python libraries to carry out some geospatial analysis of traffic accident data within the UK. I was a relatively early adopter of DuckDB, the fast OLAP database, after it became available, but only recently realised that, through an extension, it offered a large number […]

The post Geospatial exploratory data analysis with GeoPandas and DuckDB appeared first on Towards Data Science.

]]>
Bootstrap a Data Lakehouse in an Afternoon https://towardsdatascience.com/bootstrap-a-data-lakehouse-in-an-afternoon/ Thu, 04 Dec 2025 13:30:00 +0000 https://towardsdatascience.com/?p=607806 Using Apache Iceberg on AWS with Athena, Glue/Spark and DuckDB

The post Bootstrap a Data Lakehouse in an Afternoon appeared first on Towards Data Science.

]]>
A Hands-On Guide to Anthropic’s New Structured Output Capabilities https://towardsdatascience.com/hands-on-with-anthropics-new-structured-output-capabilities/ Mon, 24 Nov 2025 19:51:37 +0000 https://towardsdatascience.com/hands-on-with-anthropics-new-structured-output-capabilities/ A developer’s guide to perfect JSON and typed outputs from Claude Sonnet 4.5 and Opus 4.1

The post A Hands-On Guide to Anthropic’s New Structured Output Capabilities appeared first on Towards Data Science.

]]>
Introducing Google’s File Search Tool https://towardsdatascience.com/introducing-googles-file-search-tool/ Tue, 18 Nov 2025 12:30:00 +0000 https://towardsdatascience.com/?p=607665 The search giant fires its latest salvo against traditional RAG processing.

The post Introducing Google’s File Search Tool appeared first on Towards Data Science.

]]>
Run Python Up to 150× Faster with C https://towardsdatascience.com/make-python-up-to-150x-faster-with-c/ Mon, 10 Nov 2025 19:33:20 +0000 https://towardsdatascience.com/?p=607598 A practical guide to offloading performance-critical code to C without abandoning Python.

The post Run Python Up to 150× Faster with C appeared first on Towards Data Science.

]]>
Let Hypothesis Break Your Python Code Before Your Users Do https://towardsdatascience.com/let-hypothesis-break-your-python-code-before-your-users-do/ Fri, 31 Oct 2025 17:13:39 +0000 https://towardsdatascience.com/?p=607530 Property-based tests that find bugs you didn’t know existed.

The post Let Hypothesis Break Your Python Code Before Your Users Do appeared first on Towards Data Science.

]]>
Deploy an OpenAI Agent Builder Chatbot to your Website https://towardsdatascience.com/deploy-an-openai-agent-builder-chatbot-to-a-website/ Fri, 24 Oct 2025 12:30:00 +0000 https://towardsdatascience.com/?p=607476 Using OpenAI’s Agent Builder ChatKit

The post Deploy an OpenAI Agent Builder Chatbot to your Website appeared first on Towards Data Science.

]]>
Python 3.14 and the End of the GIL https://towardsdatascience.com/python-3-14-and-the-end-of-the-gil/ Sat, 18 Oct 2025 14:00:00 +0000 https://towardsdatascience.com/?p=607412 Exploring the opportunities and challenges of a GIL-free Python

The post Python 3.14 and the End of the GIL appeared first on Towards Data Science.

]]>
Beyond Requests: Why httpx is the Modern HTTP Client You Need (Sometimes) https://towardsdatascience.com/beyond-requests-why-httpx-is-the-modern-http-client-you-need-sometimes/ Wed, 15 Oct 2025 19:06:27 +0000 https://towardsdatascience.com/?p=607393 A comprehensive comparison of these two Python libraries

The post Beyond Requests: Why httpx is the Modern HTTP Client You Need (Sometimes) appeared first on Towards Data Science.

]]>
This Puzzle Shows Just How Far LLMs Have Progressed in a Little Over a Year https://towardsdatascience.com/this-puzzle-shows-just-how-far-llms-have-progressed-in-little-over-a-year/ Tue, 07 Oct 2025 13:00:00 +0000 https://towardsdatascience.com/?p=607354 What took GPT-4o 2 hours to solve, Sonnet 4.5 does in 5 seconds 

The post This Puzzle Shows Just How Far LLMs Have Progressed in a Little Over a Year appeared first on Towards Data Science.

]]>
Build a Data Dashboard Using HTML, CSS, and JavaScript https://towardsdatascience.com/build-a-data-dashboard-using-html-css-javascript/ Fri, 03 Oct 2025 14:00:00 +0000 https://towardsdatascience.com/?p=607333 A framework-free guide for Python programmers

The post Build a Data Dashboard Using HTML, CSS, and JavaScript appeared first on Towards Data Science.

]]>
Python Can Now Call Mojo https://towardsdatascience.com/python-can-now-call-mojo/ Sun, 21 Sep 2025 14:00:00 +0000 https://towardsdatascience.com/?p=607196 Boost your runtimes with lightning-fast Mojo code

The post Python Can Now Call Mojo appeared first on Towards Data Science.

]]>
Docling: The Document Alchemist https://towardsdatascience.com/docling-the-document-alchemist/ Fri, 12 Sep 2025 16:30:00 +0000 https://towardsdatascience.com/?p=607125 Why do we still wrestle with documents in 2025? Spend some time in any data-driven organisation, and you’ll encounter a host of PDFs, Word files, PowerPoints, half-scanned images, handwritten notes, and the occasional surprise CSV lurking in a SharePoint folder. Business and data analysts waste hours converting, splitting, and cajoling those formats into something their Python […]

The post Docling: The Document Alchemist appeared first on Towards Data Science.

]]>
Useful Python Libraries You Might Not Have Heard Of:  Freezegun https://towardsdatascience.com/useful-python-libraries-you-might-not-have-heard-of-freezegun/ Thu, 04 Sep 2025 00:30:06 +0000 https://towardsdatascience.com/?p=607028 Bring time to a standstill in your Python tests

The post Useful Python Libraries You Might Not Have Heard Of:  Freezegun appeared first on Towards Data Science.

]]>
Google’s URL Context Grounding: Another Nail in RAG’s Coffin? https://towardsdatascience.com/googles-url-context-grounding-another-nail-in-rags-coffin/ Tue, 26 Aug 2025 13:05:00 +0000 https://towardsdatascience.com/?p=606956 Google’s hot streak in AI-related releases continues unabated. Just a few days ago, it released a new tool for Gemini called URL context grounding.  URL context grounding can be used stand-alone or combined with Google search grounding to conduct deep dives into internet content. What is URL context grounding? In a nutshell, it’s a way […]

The post Google’s URL Context Grounding: Another Nail in RAG’s Coffin? appeared first on Towards Data Science.

]]>
Building a Modern Dashboard with Python and Tkinter https://towardsdatascience.com/building-a-modern-dashboard-with-python-and-tkinter/ Wed, 20 Aug 2025 04:33:31 +0000 https://towardsdatascience.com/?p=606894 Create polished GUIs and data dashboards with this versatile library

The post Building a Modern Dashboard with Python and Tkinter appeared first on Towards Data Science.

]]>
Introducing Google’s LangExtract tool https://towardsdatascience.com/introducing-googles-langextract-tool-2/ Mon, 11 Aug 2025 22:33:53 +0000 https://towardsdatascience.com/?p=606835 Do RAG without doing RAG with this powerful new NLP and data extraction library

The post Introducing Google’s LangExtract tool appeared first on Towards Data Science.

]]>
Introducing Server-Sent Events in Python https://towardsdatascience.com/introducing-server-sent-events-in-python/ Mon, 04 Aug 2025 17:07:22 +0000 https://towardsdatascience.com/?p=606778 A simpler path to coding real-time web applications.

The post Introducing Server-Sent Events in Python appeared first on Towards Data Science.

]]>
NumPy API on a GPU? https://towardsdatascience.com/numpy-api-on-a-gpu/ Wed, 23 Jul 2025 04:23:24 +0000 https://towardsdatascience.com/?p=606690 It's here already from Nvidia and it's called cuNumeric.

The post NumPy API on a GPU? appeared first on Towards Data Science.

]]>
Deploy a Streamlit App to AWS https://towardsdatascience.com/deploy-a-streamlit-app-to-aws/ Tue, 15 Jul 2025 18:13:16 +0000 https://towardsdatascience.com/?p=606594 Using the Elastic Beanstalk service

The post Deploy a Streamlit App to AWS appeared first on Towards Data Science.

]]>