Thomas Reid, Author at Towards Data Science https://towardsdatascience.com Publish AI, ML & data-science insights to a global community of data professionals. Tue, 08 Jul 2025 05:14:35 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.1 https://towardsdatascience.com/wp-content/uploads/2025/02/cropped-Favicon-32x32.png Thomas Reid, Author at Towards Data Science https://towardsdatascience.com 32 32 Run Your Python Code up to 80x Faster Using the Cython Library https://towardsdatascience.com/run-your-python-code-up-to-80x-faster-using-the-cython-library/ Tue, 08 Jul 2025 05:14:05 +0000 https://towardsdatascience.com/?p=606519 A four-step plan for C language speed where it matters most

The post Run Your Python Code up to 80x Faster Using the Cython Library appeared first on Towards Data Science.

]]>
An Introduction to Remote Model Context Protocol Servers https://towardsdatascience.com/an-introduction-to-remote-model-context-protocol-servers/ Tue, 01 Jul 2025 17:59:44 +0000 https://towardsdatascience.com/?p=606471 Writing, testing and using them.

The post An Introduction to Remote Model Context Protocol Servers appeared first on Towards Data Science.

]]>
Building A Modern Dashboard with Python and Taipy https://towardsdatascience.com/building-a-modern-dashboard-with-python-and-taipy/ Mon, 23 Jun 2025 21:06:57 +0000 https://towardsdatascience.com/?p=606390 A guide to building a front-end data application.

The post Building A Modern Dashboard with Python and Taipy appeared first on Towards Data Science.

]]>
User Authorisation in Streamlit With OIDC and Google https://towardsdatascience.com/user-authorisation-in-streamlit-with-oidc-and-google/ Thu, 12 Jun 2025 16:54:07 +0000 https://towardsdatascience.com/?p=606280 Log in to a Streamlit app with a Google email account

The post User Authorisation in Streamlit With OIDC and Google appeared first on Towards Data Science.

]]>
Building a Modern Dashboard with Python and Gradio https://towardsdatascience.com/building-a-modern-dashboard-with-python-and-gradio/ Wed, 04 Jun 2025 22:33:11 +0000 https://towardsdatascience.com/?p=606213 Data insights made simple

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

]]>
JAX: Is This Google’s NumPy killer? https://towardsdatascience.com/jax-is-this-googles-numpy-killer/ Wed, 28 May 2025 19:48:10 +0000 https://towardsdatascience.com/?p=606126 Auto differentiation and JIT compilation make a compelling case.

The post JAX: Is This Google’s NumPy killer? appeared first on Towards Data Science.

]]>
Use PyTorch to Easily Access Your GPU https://towardsdatascience.com/use-pytorch-to-easily-access-your-gpu/ Wed, 21 May 2025 20:46:43 +0000 https://towardsdatascience.com/?p=606055 Or … how an ML library can accelerate non-ML computations

The post Use PyTorch to Easily Access Your GPU appeared first on Towards Data Science.

]]>
Running Python Programs in Your Browser https://towardsdatascience.com/running-python-programs-in-your-browser/ Mon, 12 May 2025 19:15:32 +0000 https://towardsdatascience.com/?p=605991 Using Pyodide and Webassembly

The post Running Python Programs in Your Browser appeared first on Towards Data Science.

]]>
NumExpr: The “Faster than Numpy” Library Most Data Scientists Have Never Used https://towardsdatascience.com/numexpr-the-faster-than-numpy-library-that-no-ones-heard-of/ Mon, 28 Apr 2025 18:38:41 +0000 https://towardsdatascience.com/?p=605821 A comparative performance test with NumPy

The post NumExpr: The “Faster than Numpy” Library Most Data Scientists Have Never Used appeared first on Towards Data Science.

]]>
Battle of the Ducks https://towardsdatascience.com/battle-of-the-ducks-24fd55260fae/ Tue, 28 Jan 2025 14:01:58 +0000 https://towardsdatascience.com/battle-of-the-ducks-24fd55260fae/ DuckDB vs Fireducks: the ultimate throwdown

The post Battle of the Ducks appeared first on Towards Data Science.

]]>
Building a Data Dashboard https://towardsdatascience.com/building-a-data-dashboard-9441db646697/ Mon, 20 Jan 2025 18:28:23 +0000 https://towardsdatascience.com/building-a-data-dashboard-9441db646697/ Using the streamlit Python library

The post Building a Data Dashboard appeared first on Towards Data Science.

]]>
Speed up Pandas code with Numpy https://towardsdatascience.com/speed-up-pandas-code-with-numpy-fdee76210794/ Mon, 13 Jan 2025 09:02:14 +0000 https://towardsdatascience.com/speed-up-pandas-code-with-numpy-fdee76210794/ But I can't vectorise this, can I?  .... yes, you probably can!

The post Speed up Pandas code with Numpy appeared first on Towards Data Science.

]]>
Structured LLM Output Using Ollama https://towardsdatascience.com/structured-llm-output-using-ollama-73422889c7ad/ Tue, 17 Dec 2024 00:35:17 +0000 https://towardsdatascience.com/structured-llm-output-using-ollama-73422889c7ad/ Control your model responses effectively

The post Structured LLM Output Using Ollama appeared first on Towards Data Science.

]]>
OpenAI Prompt Cache Monitoring https://towardsdatascience.com/openai-prompt-cache-monitoring-7cb8df21d0d0/ Tue, 10 Dec 2024 15:01:48 +0000 https://towardsdatascience.com/openai-prompt-cache-monitoring-7cb8df21d0d0/ A worked example using Python and the chat completion API

The post OpenAI Prompt Cache Monitoring appeared first on Towards Data Science.

]]>
Introducing the New Anthropic PDF Processing API https://towardsdatascience.com/introducing-the-new-anthropic-pdf-processing-api-0010657f595f/ Wed, 27 Nov 2024 13:02:15 +0000 https://towardsdatascience.com/introducing-the-new-anthropic-pdf-processing-api-0010657f595f/ Anthropic Claude 3.5 now understands PDF input

The post Introducing the New Anthropic PDF Processing API appeared first on Towards Data Science.

]]>
Boost Your Python Code with CUDA https://towardsdatascience.com/boost-your-python-code-with-cuda-8bbdd08fc51e/ Wed, 20 Nov 2024 18:06:21 +0000 https://towardsdatascience.com/boost-your-python-code-with-cuda-8bbdd08fc51e/ Target your GPU easily with Numba's CUDA JIT

The post Boost Your Python Code with CUDA appeared first on Towards Data Science.

]]>
Introducing the New Anthropic Token Counting API https://towardsdatascience.com/introducing-the-new-anthropic-token-counting-api-5afd58bad5ff/ Fri, 08 Nov 2024 17:57:53 +0000 https://towardsdatascience.com/introducing-the-new-anthropic-token-counting-api-5afd58bad5ff/ Keep a closer eye on your costs when using Claude

The post Introducing the New Anthropic Token Counting API appeared first on Towards Data Science.

]]>
Build and Deploy a Multi-File RAG App to the Web https://towardsdatascience.com/build-and-deploy-a-multi-file-rag-app-to-the-web-70ee4eceb0e3/ Fri, 01 Nov 2024 11:01:56 +0000 https://towardsdatascience.com/build-and-deploy-a-multi-file-rag-app-to-the-web-70ee4eceb0e3/ Part 2 - Deploying to the web using Hugging Face Spaces

The post Build and Deploy a Multi-File RAG App to the Web appeared first on Towards Data Science.

]]>
C Programming Using Claude’s New Computer Use Model https://towardsdatascience.com/c-programming-using-claudes-new-computer-use-model-feaad7e3e8db/ Fri, 25 Oct 2024 23:19:55 +0000 https://towardsdatascience.com/c-programming-using-claudes-new-computer-use-model-feaad7e3e8db/ How well can Sonnet write and run code on your behalf?

The post C Programming Using Claude’s New Computer Use Model appeared first on Towards Data Science.

]]>
Build and Deploy a Multi-File, Multi-Format RAG App to the Web https://towardsdatascience.com/build-and-deploy-a-multi-file-multi-format-rag-app-to-the-web-910b7ac5eb6d/ Thu, 24 Oct 2024 19:58:06 +0000 https://towardsdatascience.com/build-and-deploy-a-multi-file-multi-format-rag-app-to-the-web-910b7ac5eb6d/ Part 1 - Developing the code using Python, Gradio, GROQ & LlamaIndex

The post Build and Deploy a Multi-File, Multi-Format RAG App to the Web appeared first on Towards Data Science.

]]>