cover image

Learn to integrate GitLab feature flags into a Python Flask app using the Unleash SDK to control feature rollouts without redeploying.

cover image

When you type a query into a search engine, something has to decide which documents are actually relevant — and how to rank them. BM25 (Best Matching 25), the algorithm powering search engines like Elasticsearch and Lucene, has been the dominant answer to that question for decades.  It scores documents by looking at three things: […]

Research: Starlette 1.0 skill
23 Mar 2026
simonwillison.net

Starlette 1.0 Skill offers a concise guide for building robust web applications with Starlette, a lightweight ASGI framework. The accompanying demo showcases a task management app featuring projects, tasks, comments, …

cover image

Learn five Pandas functions that dramatically simplify common data manipulation tasks and replace lengthy manual code.

The Optimization Ladder
15 Mar 2026
cemrehancavdar.com

Python loses every public benchmark by 21-875x. I took the exact problems people use to dunk on Python and climbed every rung of the optimization ladder -- from CPython version upgrades to Rust. Real numbers, real code, real effort costs.

Python Cheatsheet
14 Mar 2026
linuxize.com

Quick reference for Python 3 syntax, data types, string and list methods, control flow, functions, file I/O, and exception handling.

cover image

Learn these five Python decorators based on diverse libraries, that take particular significance when used in the context of LLM-based applications.

cover image

Cambridge Researchers Introduce SymTorch: A PyTorch Library that Translates Deep Learning Models into Human-Readable Equations

cover image

These are 12 Python libraries that made waves in 2025, and that every developer should try in 2026.

cover image

How to Design Production-Grade Mock Data Pipelines Using Polyfactory with Dataclasses, Pydantic, Attrs, and Nested Models

pandas - Python Data Analysis Library
28 Jan 2026
pandas.pydata.org
cover image

Stop using print statements and start logging like a pro. This guide shows Python developers how to log smarter and debug faster.

cover image

Learn how to measure network clustering and triadic closure in Python to identify tightly-knit groups and bridge nodes.

cover image

Learn about implementing Softmax from scratch and discover how to avoid the numerical stability trap in deep learning projects.

cover image

These 9 Python features separate beginners from professionals pythonclcoding.gumroad.com/l/bfyxw

cover image

Want to level up your data science toolkit? Here are some Python libraries that'll make your work easier.

How uv got so fast
27 Dec 2025
nesbitt.io

uv’s speed comes from engineering decisions, not just Rust. Static metadata, dropping legacy formats, and standards that didn’t exist five years ago.

cover image

Streamline your financial data workflow with OpenBB. Learn setup, data extraction, and automation using Python—perfect for analysts and economists.

cover image
Creating PDF Reports with Python
3 Dec 2025
medium.com

Creating PDF Reports with Python Introduction Generating PDF reports programmatically can be incredibly useful for automating document creation, especially in a business context. Python offers …

Chapter 1: Introduction - ReportLab Docs
3 Dec 2025
docs.reportlab.com
cover image

Learn how to use Python's Apriori algorithm to find frequent itemsets in transaction data automatically.

cover image

Released in 2024, uv is hands-down the best tool for managing Python installations and dependencies. Here's why.

Reference — NetworkX 3.5 documentation
23 Oct 2025
networkx.org
cover image

Discover hidden group structures in networks using Python's NetworkX library with Louvain and Girvan-Newman algorithms.

cover image

Why every Python developer should give TypeScript a serious look (and how to get productive fast)

cover image

A Coding Guide to Build an Autonomous Agentic AI for Time Series Forecasting with Darts and Hugging Face. A Step by step guide

In this article, I'll explain how to automate 80% of the initial analysis and generate an EDA report with just one line of Python code.

pytest documentation
28 Sep 2025
docs.pytest.org
cover image

In this concise guide, we'll break down the essentials of Monte Carlo simulation, explain how it works, and provide a simple example using Python.

cover image

In this article, we present 10 powerful Python one-liners that will help you optimize your Hugging Face pipeline() workflows.

cover image

Learn to calculate support, confidence, and lift metrics for market basket analysis using Python's mlxtend library.

cover image
How to Use Redis with Python
20 Aug 2025
blog.appsignal.com

We'll learn how to use Redis in Python with a step-by-step tutorial.

cover image

a python library for cats and hypercats

cover image

80x Faster Python? Discover How One Line Turns Your Code Into a GPU Beast!

cover image

pyx is a Python-native package registry from the creators of uv.

cover image

A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization. - google/langextract

cover image

Since 2023 the Python Software Foundation has had a Security Developer-in-Residence (sponsored by the Open Source Security Foundation's vulnerability-finding "Alpha-Omega" project). And he's just published a new 11-page white paper about open source's "phantom dependencies" problem — suggestin...

cover image

Most Python projects rely on scattered scripts and commands. Learn how makefiles pulls it all together into one clean, repeatable workflow.

cover image

Master fast, powerful ways to visualize data with these compact, ready-to-use Python one-liners.

cover image
I’m Switching to Python and Actually Liking It
16 Jul 2025
cesarsotovalero.net

I’ve started writing more Python code lately (because of… AI, you know). In this post, I share the tools, libraries, configs, and other integrations I use for building production-grade Python applications following a frontend-backend architecture.

cover image

Want to code smarter, not harder? Start using these 7 utilities from Python's functools and itertools that are useful, practical, and elegant!

cover image

Tired of breaking your Python setup? Learn how virtual environments keep everything organized and working smoothly.

cover image
10 Must-Know Python Libraries for MLOps in 2025
21 Jun 2025
machinelearningmastery.com

In this article, we’ll explore 10 Python libraries that every machine learning professional should know in 2025.

cover image

In this article, you will learn how to visualize skewness and kurtosis using Python.

cover image

The Kalman filter records the system's estimated state and the estimate's variance or uncertainty.

cover image

Containerize your Python apps to eliminate environment issues and simplify deployment. This guide shows you why it helps and how to get started with Docker.

cover image

In this article, we'll explore 10 Python one-liners that showcase the progression from basic statistical tests to sophisticated analyses.

cover image

These common Python functions seem simple… until they aren’t. Avoid subtle bugs by learning how to use them the right way.

cover image

Learn to transform geographic data into actionable insights using GeoPandas. From basic maps to finding Chicago's health deserts — complete tutorial inside.

cover image

Learn how to implement a parallelization process in your data pipeline.

cover image
Advanced Python Error Handling in Python
29 Apr 2025
statology.org

In this article, we’ll look at advanced error-handling techniques that go beyond the standard try-except mechanism with practical examples and tips to help you improve the robustness of your Python applications.

cover image

Learn to leverage Python patterns like a professional.

14 Advanced Python Features
23 Apr 2025
blog.edward-li.com

Python is one of the most widely adopted programming languages in the world. Yet, because of it’s ease and simplicity to just “get something working”, it’s also one of the most underappreciated. If you search for Top 10 Advanced Python Tricks on Google or any other search engine, you’ll find tons of blogs or LinkedIn articles going over trivial (but still useful) things like generators or tuples. However, as someone who’s written Python for the past 12 years, I’ve come across a lot of really interesting, underrated, unique, or (as some might say) “un-pythonic” tricks to really level up what Python can do.

cover image
Geospatial Clustering with Python
22 Apr 2025
thecleverprogrammer.com

In this article, I'll take you through a practical guide to geospatial clustering with Python. Geospatial Clustering with Python.

cover image

This Statology Sprint brings together our most valuable content on Faker, Python's powerful synthetic data generation library, to help you create realistic, privacy-compliant test data for your projects.

cover image
Introduction to statsmodels
14 Apr 2025
statology.org

This article explains its features, installation, and how to use it with examples.

cover image

Agent Framework / shim to use Pydantic with LLMs

cover image

In this article, we will explore different vectorized operations with examples.

cover image
10 Must-Know Python Libraries for LLMs in 2025
26 Mar 2025
machinelearningmastery.com

In this article, we explore 10 of the Python libraries every developer should know in 2025.

cover image

In this article, we'll explore when and why you might want to use openpyxl directly, and understand its relationship with pandas.

cover image
Packaging a Python App to Executable .deb Binary
18 Mar 2025
linuxhandbook.com

I am sharing how I packaged my python application into an executable .deb package in this tutorial.

cover image
Data Analytics Projects on Various Domains
15 Mar 2025
thecleverprogrammer.com

In this article, I'll walk you through a list of 50 Data Analytics projects on various domains to help you gain practical expertise.

cover image

Check out this guide to learn how you can use asyncio for asynchronous programming in Python.

cover image

A Step-by-Step Guide to Setting Up a Custom BPE Tokenizer with Tiktoken for Advanced NLP Applications in Python

cover image

In this article, I will introduce you to 10 little-known Python libraries every data scientist should know.

sqlite-s3vfs
7 Feb 2025
simonwillison.net

Neat open source project on the GitHub organisation for the UK government's Department for Business and Trade: a "Python virtual filesystem for SQLite to read from and write to S3." …

cover image

I just released llm-smollm2, a new plugin for LLM that bundles a quantized copy of the SmolLM2-135M-Instruct LLM inside of the Python package. This means you can now pip install …

cover image
50+ Projects to Learn Data Analysis | Aman Kharwal
7 Feb 2025
thecleverprogrammer.com

In this article, I'll take you through a list of 50+ Data Analysis Projects you should try to learn Data Analysis.

cover image
80+ Data Science Projects | Aman Kharwal
31 Jan 2025
thecleverprogrammer.com

In this article, I'll take you through a list of 80+ hands-on Data Science projects you should try to learn everything in Data Science.

cover image
50+ AI & ML Projects with Python | Aman Kharwal
24 Jan 2025
thecleverprogrammer.com

In this article, I'll take you through a list of 50+ AI & ML projects solved & explained with Python that you should try.

cover image

This is a standalone notebook implementing the popular byte pair encoding (BPE) tokenization algorithm, which is used in models like GPT-2 to GPT-4, Llama 3,...

cover image

In this step-by-step tutorial, you'll learn how to use the Python Pillow library to deal with images and perform image processing. You'll also explore using NumPy for further processing, including to create animations.

cover image
Demand Forecasting with Darts: A Tutorial
2 Jan 2025
towardsdatascience.com

A hands-on tutorial with Python and Darts for demand forecasting, showcasing the power of TiDE and TFT

cover image

Designing neuromorphic sensory processing units (NSPUs) based on Temporal Neural Networks (TNNs) is a highly challenging task due to the reliance on manual, labor-intensive hardware development processes. TNNs have been identified as highly promising for real-time edge AI applications, mainly because they are energy-efficient and bio-inspired. However, available methodologies lack automation and are not very accessible. Consequently, the design process becomes complex, time-consuming, and requires specialized knowledge. It is through overcoming these challenges that one can unlock the full potential of TNNs for efficient and scalable processing of sensory signals.  The current approaches to TNN development are fragmented workflows, as

cover image
Welcome to Flask — Flask Documentation (3.1.x)
24 Dec 2024
flask.palletsprojects.com
cover image
75 Data Science Projects with Python | Aman Kharwal
20 Dec 2024
thecleverprogrammer.com

In this article, I’ll take you through a list of 75 guided projects to master Data Science with Python. 75 Data Science Projects with Python.

cover image

Ever wondered how to handle large data without slowing down your computer? Let’s learn about Dask, a tool that helps you work with large data quickly.

cover image

Popular MLOps Python tools that will make machine learning model deployment a piece of cake.

cover image

Photo by Luke Chesser on Unsplash

cover image
10 Python One-Liners
25 Nov 2024
machinelearningmastery.com

[caption align=

cover image

The richness of Python’s ecosystem has one downside – it makes it difficult to decide which libraries are the best for your needs. This article is an attempt to amend this by suggesting ten (and some more, as a bonus) libraries that are an absolute must in data science.

cover image

When you need to assign a value to a variable, based on a single condition, and you want to keep your code short and sweet, a ternary operator might be your best option.

cover image
Document Analysis using LLMs with Python | Aman Kharwal
21 Oct 2024
thecleverprogrammer.com

In this article, I'll take you through the task of document analysis using LLMs with Python. Document Analysis using LLMs with Python.

cover image

All you need to know about the latest Python release including Global Interpreter Lock and Just-in-Time compilation.

cover image

This tutorial explains the Python global interpreter lock (GIL), which prevents multiple threads from executing Python code at the same time.

cover image

Learn which variables you should and should not take into account in your model.

cover image

Re-ranking is an integral component of many retrieval pipelines; however, there exist numerous approaches to it, all with different implementation methods. To mitigate this, we propose rerankers, a Python library which provides a simple, easy-to-use interface to all commonly used re-ranking approaches.

cover image

Understanding and coding Gaussian Splatting from a Python Engineer’s perspective

cover image

Understanding and coding how Gaussian’s are used within 3D Gaussian Splatting

cover image

Part 3 of our Gaussian Splatting tutorial, showing how to render splats onto a 2D image.

cover image

This article is a end-to-end guide to build a professional portfolio for developpers and data workers based on github page.

cover image

Modern Graph Theory Algorithms with Python, published by Packt - PacktPublishing/Modern-Graph-Theory-Algorithms-with-Python

cover image
Customer Satisfaction Analysis with Python
1 Aug 2024
thecleverprogrammer.com

In this article, I'll take you through the task of Customer Satisfaction Analysis with Python. Customer Satisfaction Analysis with Python.

Introduction In this post, I want to introduce Mark, a simple CLI tool that uses Markdown and its syntax to interact naturally with the GPT4-vision/GPT4o models.

cover image

Understanding what genetic algorithms are and how they can be implemented in Python.

cover image

In the era of vast data, information retrieval is crucial for search engines, recommender systems, and any application that needs to find documents based on their content. The process involves three key challenges: relevance assessment, document ranking, and efficiency. The recently introduced Python library that implements the BM25 algorithm, BM25S addresses the challenge of efficient and effective information retrieval, particularly the need for ranking documents in response to user queries. The goal is to enhance the speed and memory efficiency of the BM25 algorithm, a standard method for ranking documents by their relevance to a query. Current methods for implementing

cover image

This post is meant to guide you through some of the lessons I’ve learned while working with multi-terabyte datasets. The lessons shared are focused on what someone may face as the size of the…

cover image
Recommendation Algorithms You Should Know
19 Jun 2024
thecleverprogrammer.com

In this article, I'll take you through the recommendation algorithms you should know and how to implement them using Python.

cover image
Python's many command-line utilities
4 Jun 2024
pythonmorsels.com

Every command-line tool included with Python. These can be run with python -m module_name.

cover image

A deep-dive into how and why Statsmodels uses numerical optimization instead of closed-form formulas

cover image

How to create, activate, use, and delete a Python venv on Windows, Linux, and MacOS. We'll also look at how a Python venv works internally.

cover image

Get started with SQLite databases in Python using the built-in sqlite3 module.

cover image

Optimize Your Python Workflow: Proven Techniques for Crafting Production-Ready Code

cover image

In the vast world of data science, countless tools are available to help analysts and researchers make sense of data and build powerful machine-learning models. While some tools are widely known and used, others might not be as familiar to many. Here are the ten great Python packages that can significantly enhance your workflow. 1. LazyPredict: LazyPredict is all about efficiency. It allows the training, testing, and evaluation of multiple machine-learning models simultaneously with just a few lines of code. Whether one is working on regression or classification tasks, LazyPredict streamlines the process and helps find the best model for

cover image

With the help of PyScript, you can develop rich frontends with Python for the web and even make use of various Python modules.

cover image
Extract text from a PDF
5 May 2024
johndcook.com

Extracting text from a PDF file using GNU less or Python's pypdf. Why its not entirely clear just what a text extractor should do.

cover image

After setting up your Python project, creating a requirements.txt file is essential for simplifying...

cover image

Advanced Data Structures: Sets, Tuples, and Comprehensions In the world of programming,...

The Best Python Cheat Sheet
5 Apr 2024
kieranholland.com

A dense Python cheat sheet with just what you need. Comprehensive but selective coverage of core Python, with links to detailed documentation and resources. Responsive design with light and dark modes. Download and print PDF. Feedback is welcome.

cover image
Essential Formulas for Data Science in Finance
5 Apr 2024
thecleverprogrammer.com

In this article, I'll take you through a guide to some essential formulas for Data Science in finance with implementation using Python.

cover image

In the rapidly evolving world of technology and artificial intelligence, a new development has emerged that promises to impact the Python and AI communities significantly. Modular, a pioneering tech firm, has announced the open-sourcing of Mojo, a programming language designed to enhance Python's capabilities, allowing developers to write code that scales 'all the way down to metal code.' This move is set to transform Python programming, offering unprecedented speed and efficiency. Modular has long championed open-source principles, and the release of Mojo under the Apache 2 license represents a significant step towards fulfilling its vision. Since its initial release in

Tiny Python Projects
11 Mar 2024
tinypythonprojects.com
cover image

How to implement PSO

cover image

In this tutorial, you'll learn about duck typing in Python. It's a typing system based on objects' behaviors rather than on inheritance. By taking advantage of duck typing, you can create flexible and decoupled sets of Python classes that you can use together or individually.

cover image
30 Python Libraries that I Often Use
17 Feb 2024
datasciencecentral.com

30 Python libraries to solve most AI problems, including GenAI, data videos, synthetization, model evaluation, computer vision and more.

cover image

Strategically enhancing address mapping during data integration using geocoding and string matching

cover image

This blog will introduce you to some core concepts and building blocks of working with the official...

cover image
The Perfect Way to Smooth Your Noisy Data
18 Jan 2024
towardsdatascience.com

Insanely fast and reliable smoothing and interpolation with the Whittaker-Eilers method.

cover image

LlamaIndex is a simple, flexible data framework for connecting custom data sources to large language models (LLMs).

cover image

Understanding how convolutional neural networks (CNNs) operate is essential in deep learning. However, implementing these networks, especially convolutions and gradient calculations, can be challenging. Many popular frameworks like TensorFlow and PyTorch exist, but their complex codebases make it difficult for newcomers to grasp the inner workings. Meet neograd, a newly released deep learning framework developed from scratch using Python and NumPy. This framework aims to simplify the understanding of core concepts in deep learning, such as automatic differentiation, by providing a more intuitive and readable codebase. It addresses the complexity barrier often associated with existing frameworks, making it easier for

cover image
skfolio/skfolio
15 Jan 2024
github.com

Python library for portfolio optimization built on top of scikit-learn - skfolio/skfolio

cover image
Business Forecasting Project Ideas
12 Jan 2024
thecleverprogrammer.com

This article will take you through some of the best Business Forecasting project ideas you should try. Business Forecasting Project Ideas.

cover image
FastAPI
12 Jan 2024
fastapi.tiangolo.com

FastAPI framework, high performance, easy to learn, fast to code, ready for production

cover image
Python 3.13 gets a JIT
10 Jan 2024
tonybaloney.github.io

Reviewing the JIT in Python 3.13

cover image

Python has been my go-to programming language since I started coding. Python, as a programming...

cover image
Market Basket Analysis using Python
30 Oct 2023
thecleverprogrammer.com

In this article, I'll take you through the task of Market Basket Analysis using Python. Market Basket Analysis using Python.

cover image
Python "magic" methods - part 2
27 Oct 2023
dev.to

Let's continue our exploration of Python's magic methods in this second part of the series. This part...

cover image

I trying to use virtualenv on jupyter notebook, to use all packages installed in an environment, but inside jupyter they are not recognized. Already tried: pip install tornado==4.5.3 pip install

cover image

Source code: Lib/venv/ The venv module supports creating lightweight “virtual environments”, each with their own independent set of Python packages installed in their site directories. A virtual en...

cover image

Introduction In the vast landscape of web development, Flask stands out as a lightweight yet...

cover image
Hey, Computer, Make Me a Font
4 Oct 2023
serce.me

This is a story of my journey learning to build generative ML models from scratch and teaching a computer to create fonts in the process.

cover image

Enhance your code quality with the beauty of match statements and object slicing.

cover image

Notebooks for the python tutorials of my youtube channel. See specific youtube video for link to specifc notebook. - lukepolson/youtube_channel

cover image

In less than 100 pages, the book covers all important topics about discrete chaotic dynamical systems and related time series and stochastic processes, ranging from introductory to advanced, in one and two dimensions. State-of-the art methods and new results are presented in simple English. Yet, some mathematical proofs appear for the first time in this

cover image

An increasingly popular method for representing data in a graph structure is the usage of knowledge graphs (KGs). A KG is a group of triples (s, p, o), where s (subject) and o (object) are two graph nodes, and p is a predicate that describes the type of connection that exists between them. KGs are often supported by a schema (such as an ontology) that outlines the key ideas and relationships in a field of study and the constraints that govern how these ideas and relationships can interact. Many of the activities for which KGs are employed have a small

cover image
Cracking Open the OpenAI (Python) API
25 Sep 2023
towardsdatascience.com

A complete beginner-friendly introduction with example code

cover image

In this tutorial, you'll learn how to use a Python virtual environment to manage your Python projects. You'll also gain a deep understanding of the structure of virtual environments created with the venv module, as well as the rationale behind using virtual environments.

cover image

3 Python libraries for scientific computation you should know as a data professional.

cover image

And why you should learn how to use them to filter Python sequences more elegantly.

cover image
What is EDI? Electronic Data Interchange
30 Aug 2023
towardsdatascience.com

Explore how Electronic Data Interchange (EDI) facilitates modern supply chain management.

cover image

A much overlooked way to save some time.

cover image

In this article, I'll take you through the task of Demand Forecasting and Inventory Optimization using Python.

cover image

The realm of data analysis has long struggled with seamlessly integrating the capabilities of Python—a powerful programming language widely used for analytics—with the familiar interface and functionalities of Microsoft Excel. This challenge has hindered efficient decision-making and data processing for professionals who rely on both tools for their tasks. The need for a cohesive solution that bridges this gap is evident. Existing attempts to merge Python and Excel have often been cumbersome and involved complex setups. Analysts resorted to using external scripts, third-party tools, or manual data transfers between the two environments. These methods introduced inefficiencies, raised security concerns, and

cover image

Modeling electric and magnetic fields

cover image

Introduction: Python, a popular programming language known for its simplicity and versatility,...

cover image

Use these text extraction techniques to get quality data for your LLM models

cover image
pypdfium2 · PyPI
7 Aug 2023
pypi.org

Python bindings to PDFium

cover image
Reliability Analysis with Python
6 Aug 2023
towardsdatascience.com

Total Productive Maintenance

cover image

8 stories · A guide to building an end-to-end marketing mix optimization solution for your organization.

cover image
CLI tools hidden in the Python standard library
28 Jul 2023
til.simonwillison.net

Seth Michael Larson pointed out that the Python gzip module can be used as a CLI tool like this:

cover image

Understand survival analysis, its use in the industry, and how to apply it in Python

cover image

Filtering sequences, like lists, is a common task for developers. However, the code can become...

cover image

Applying causal machine learning to trim the campaign target audience

cover image
Clearing Pip Cache
1 Jul 2023
linuxhandbook.com

Cleaning Pip cache helps you in troubleshooting and getting fresh Python packages.

cover image

You keep using that word. I don’t think it means what you think it means.

cover image

Master Sklearn pipelines for effortless and efficient machine learning. Discover the art of building, optimizing, and scaling models with ease. Level up your data preprocessing skills and supercharge your ML workflow today

cover image

When we see the documentation of any function that contains *args and **kwargs, have you ever...

cover image
Geospatial Data Analysis with GeoPandas
7 May 2023
towardsdatascience.com

Learn how to manipulate and visualize vector data with Python’s GeoPandas

cover image

I developed the script to convert the Spotify playlist to YouTube playlist. I am here to share how I...

cover image

How to use Pytest fixtures and mock for unit testing

cover image
Retail Price Optimization using Python
17 Apr 2023
thecleverprogrammer.com

In this article, I will walk you through the task of Retail Price Optimization with Machine Learning using Python. Retail Price Optimization.

cover image

No headaches and unreadable code from os.path

cover image
Supply Chain Analysis using Python
9 Apr 2023
thecleverprogrammer.com

In this article, I will take you through the task of Supply Chain Analysis using Python. Supply Chain Analysis using Python.

cover image
An Introduction to Polars for Pandas Users
9 Apr 2023
towardsdatascience.com

Demonstrating how to use the new blazing fast DataFrame library for interacting with tabular data

cover image

Discover the Hidden Secrets of Python Exception Handling

cover image
Python3 Command and Control How to Guide
7 Apr 2023
medium.themayor.tech

Introduction and Chapter One

cover image
Introduction to mypy
6 Apr 2023
towardsdatascience.com

Static type checking for Python

cover image
A Guide to Association Rule Mining
5 Apr 2023
towardsdatascience.com

Create insights from frequent patterns using market basket analysis with Python

cover image

Understanding spatial trends in the location of Tokyo convenience stores

cover image

Exploring the Latest Enhancements and Features of PyCaret 3.0

cover image

Introduction If you're a Python developer looking to take your code to the next level,...

cover image

DISCLAIMER: This blog post was written by a human with the help of AI Hypotrochoids and epitrochoids...

Table of contents — voila 0.5.0a0 documentation
24 Mar 2023
voila.readthedocs.io
cover image
voila · PyPI
24 Mar 2023
pypi.org

Voilà turns Jupyter notebooks into standalone web applications

cover image

Welcome to this tutorial on how to test Flask applications with Pytest. Flask is a popular web...

cover image

Utilising Python’s Matplotlib to Create Advanced Data Visualisations

cover image

YAML is easy to write for humans, and read for computers. Learn how to open, parse, and read YAML with Python. With lots of example code!

cover image

A quick guide on how to make clean-looking, interactive Python plots to validate your data and model

cover image
Make your sklearn models up to 100 times faster
17 Mar 2023
towardsdatascience.com

How to considerable reduce training time changing only 1 line of code

cover image

We are excited to announce the release of PyTorch® 2.0 which we highlighted during the PyTorch Conference on 12/2/22! PyTorch 2.0 offers the same eager-mode development and user experience, while fundamentally changing and supercharging how PyTorch operates at compiler level under the hood with faster performance and support for Dynamic Shapes and Distributed.

cover image
How virtual environments work
13 Mar 2023
snarky.ca

After needing to do a deep dive on the venv module (which I will explain later in this blog post as to why), I thought I would explain how virtual environments work to help demystify them. Why do virtual environments exist? Back in my the day, there was no concept

cover image

Decorators provide a new and convenient way for everything from caching to sending notifications.

cover image

Use natural language to test the behavior of your ML models

cover image
Plotting Network Graphs using Python
7 Mar 2023
towardsdatascience.com

Learn how to use the NetworkX package to visualize complex networks

cover image
35 Hidden Python Libraries That Are Absolute Gems
4 Mar 2023
avichawla.substack.com

I reviewed 1,000+ Python libraries and discovered these hidden gems I never knew even existed.

cover image

While multiprocessing allows Python to scale to multiple CPUs, it has some performance overhead compared to threading.

cover image

An Introduction to the PyGWalker Library for Easy Data Visualisation

cover image
Getting Started with Python Generators
1 Mar 2023
kdnuggets.com

Learn about Python generators and write memory-efficient and Pythonic code.

SymPy makes math fun again
26 Feb 2023
wordsandbuttons.online

An introduction into symbolic computations in Python. Don't worry, it's much simpler than it sounds. It's about making Python do your math for you with very little investment in the technology.

Automate the Boring Stuff with Python
17 Feb 2023
automatetheboringstuff.com
cover image

Pandas receives over 3M downloads per day. But 99% of its users are not using it to its full potential.

cover image
Image Filters with Python
10 Feb 2023
towardsdatascience.com

A concise computer vision project for building image filters using Python

cover image

I built a recommender system for Amazon’s electronics category

cover image

Do more things with less code without compromising on quality

cover image

Discover how to effectively detect multivariate outliers in machine learning with PyOD in Python. Learn to convert anomaly scores to probability confidence, choose the best outlier classifier and determine the right probability threshold for improved model accuracy.

cover image
Introducing the new JupyterLab Desktop!
9 Feb 2023
blog.jupyter.org

We are pleased to announce a major update to JupyterLab Desktop which adds many new features with main focus on the user experience…

cover image
3 Simple Ways to Create a Waterfall Plot in Python
9 Feb 2023
towardsdatascience.com

Learn how to quickly create a presentation-ready plot to aid your data storytelling

cover image

A Great Alternative to Pie Charts for Data Visualisation

cover image
Export archived article data from Pocket
2 Feb 2023
gist.github.com

Export archived article data from Pocket · GitHub

cover image

There are various challenges in MLOps and model sharing, including, security and reproducibility. To tackle these for scikit-learn models, we've developed a new open-source library: skops. In this article, I will walk you through how it works and how to use it with an end-to-end example.

cover image

translate python documents to Chinese for convenient reference 简而言之,这里用来存放那些Python文档君们,并且尽力将其翻译成中文~~ - hiddenJuliet/pythondocument

cover image

Become familiar with some of the most popular Python libraries available for hyperparameter optimization.

cover image

Circular data can present unique challenges when it comes to analysis and modeling

cover image
PyPI · The Python Package Index
16 Jan 2023
pypi.org

The Python Package Index (PyPI) is a repository of software for the Python programming language.

cover image
SHAP: Explain Any Machine Learning Model in Python
14 Jan 2023
towardsdatascience.com

Your Comprehensive Guide to SHAP, TreeSHAP, and DeepSHAP

cover image
7 Scikit-Learn Best Practices For Data Scientists
13 Jan 2023
towardsdatascience.com

Tips for taking full advantage of this machine learning package

cover image

Many developers who use Python for machine learning are now switching to PyTorch. Find out why and what the future could hold for TensorFlow.

cover image

Six malicious Python packages distributed via PyPI deploying info stealers and use Cloudflare tunnels to sneak through firewalls.

cover image
Geometric Kernels
1 Jan 2023
geometric-kernels.github.io

A cross-framework package for kernels and Gaussian processes on manifolds, graphs, and meshes

Numba: A High Performance Python Compiler
28 Dec 2022
numba.pydata.org
cover image

Python Feature Engineering Cookbook Second Edition, published by Packt - PacktPublishing/Python-Feature-Engineering-Cookbook-Second-Edition

cover image
How to Anonymise Places in Python
18 Dec 2022
towardsdatascience.com

A ready-to-run code which identifies and anonymises places, based on the GeoNames database

cover image

Media Mix modeling, its implementation, and practical tips

cover image
How to use Python Lambdas
16 Dec 2022
towardsdatascience.com

Discover the power of anonymous functions and functional programming in Python

cover image
13 Tips for using PyTest
28 Nov 2022
towardsdatascience.com

Unit-testing is a really important skill for software development. There are some great Python libraries to help us write and run unit-test…

cover image
11 Less Used but Important Plots for Data Science
23 Nov 2022
towardsdatascience.com

Some Unique Data Visualization Techniques for Getting High-Level Insight into the Data

cover image
3 Useful Python Automation Scripts
8 Nov 2022
kdnuggets.com

The post highlights three useful applications of using python to automate simple desktop tasks. Stay tuned till the end of the post to find the reference for a bonus resource.

cover image
Last Mile Delivery From Multiple Depots in Python
7 Nov 2022
towardsdatascience.com

Mathematical Modeling, Solution, and Visualization Using PuLP and VeRoViz

cover image
5 Ways to use a Seaborn Heatmap (Python Tutorial)
30 Oct 2022
towardsdatascience.com

Using a heatmap to visualise a confusion matrix, time-series movements, temperature changes, correlation matrix and SHAP interaction values

cover image
How to Create a GIF from Matplotlib Plots in Python
30 Oct 2022
towardsdatascience.com

A data visualization technique for 2-dimensional time series data using imageio

cover image
5 Ways to Transform Your Seaborn Data Visualisations
30 Oct 2022
towardsdatascience.com

Simple and easy pieces of code to enhance your seaborn scatter plots

cover image
Step Up Your Game in Making Beautiful Choropleth Maps
30 Oct 2022
towardsdatascience.com

A guide on how to make different types of maps using Python

cover image
Basic to Advanced Logging with Python in 10 Minutes
30 Oct 2022
towardsdatascience.com

Logging crash course with common logging issues addressed

cover image
Python Decorator: What, Why, and How
30 Oct 2022
towardsdatascience.com

Python decorator is a very useful tool to help us code efficiently. As I mentioned in my previous article, coding efficiently is one of the…

cover image

The Sankey chart is a great way to discover the most prominent contributions just by looking at how individual items flow across states.

cover image

We look at how to create the 12 most useful graphs and charts in Python and Streamlit

cover image

The post explains the significance of CountVectorizer and demonstrates its implementation with Python code.

cover image

Why I stopped using print() statements for debugging and why you should too

cover image

Pure python implementation of product quantization for nearest neighbor search - matsui528/nanopq

cover image

The MovingBubble chart is one of those mind-blowing charts to look at. Learn how to create them using your own data set and Python!

cover image
CUDA by Numba Examples
14 Oct 2022
towardsdatascience.com

Follow this series to learn about CUDA programming from scratch with Python. Part 4 of 4.

cover image
Product Quantization for Similarity Search
14 Oct 2022
towardsdatascience.com

How to compress and fit a humongous set of vectors in memory for similarity search with asymmetric distance computation (ADC)

cover image

Learn how to build MMMs for different countries the right way

cover image

From a theoretical introduction to the hands-on implementation: here’s what you need to know about the Chirplet Transform

cover image

Create interactive, and stand-alone charts that are built on the graphics of d3 javascript (d3js) but configurable with Python.

Built-in magic commands — IPython 8.5.0 documentation
20 Sep 2022
ipython.readthedocs.io
cover image

Everything you need to know about Stereo Geometry

cover image

I subscribed to the Real Python mailing list two years ago, and I learned a lot of tips and tricks...

Python has become the most popular language in many rapidly evolving sectors, such as deep learning and data sciences. Yet its easy readability comes at the cost of performance. Of course, we all complain about program performance from time to time, and Python should certainly not take all the blame. Still, it's fair to say that Python's nature as an interpreted language does not help, especially in computation-intensive scenarios (e.g., when there are multiple nested for loops).

cover image
4 Basic Commands When Working with Python Tuples
9 Sep 2022
towardsdatascience.com

Making you understand the characteristics of Python Tuples and how you deal with them

cover image
Topic Modeling on PyCaret — Redux
5 Sep 2022
towardsdatascience.com

A beginner’s guide to PyCaret’s natural language processing module.

cover image

Deep dive into the import system

cover image

I’ve never used spaCy beyond simple named entity recognition tasks. Boy was I wrong.

cover image

Simple tips to optimize the memory utilization in Pandas

cover image
Most Important Python Modules for Beginners
23 Aug 2022
thecleverprogrammer.com

This article will take you through some of the most important Python modules for beginners. Most Important Python Modules for Beginners.

cover image

Some off-the-beaten uses of Python learned from reading libraries.

cover image
How to Create File System Triggers in Python
19 Aug 2022
the-analytics.club

How to painlessly monitor file creation, modification, and deletion programmatically.

cover image
A Guide to Python Itertools Like No Other
19 Aug 2022
towardsdatascience.com

Crystalise your understanding of this amazing library through animated GIFs and learn how to write more elegant code

cover image
Visualizing Part-of-Speech Tags with NLTK and SpaCy
19 Aug 2022
towardsdatascience.com

Customizing displaCy’s entity visualizer

cover image

Creating eye-catching graphs with Python to use instead of bar charts.

cover image

Graph partitioning has been a long-lasting problem and has a wide range of applications. This post shares the methodology for graph…

cover image

Reduce time in your data science workflow with these libraries.

cover image

Learn various techniques to reduce data processing time by using multiprocessing, joblib, and tqdm concurrent.

cover image

Write robust unit tests with Python pytest

cover image
Stream Graphs Basics with Python's Matplotlib
26 Jul 2022
towardsdatascience.com

The good-looking cousin of stacked area charts

cover image
4 Quick Tricks For Better Plots in Matplotlib
26 Jul 2022
towardsdatascience.com

Easily adding arrows, multiple axes, gradient fill, and more

cover image

3 steps (+examples) to connect to MS SQL Server, MySQL, Oracle and many other databases

Command Line | Graphviz
20 Jul 2022
graphviz.org

DOT rendering programs and utilities.

cover image

Master programming by recreating your favorite technologies from scratch. - codecrafters-io/build-your-own-x

cover image

A technical manual of graphs, networks and their applications in the people and social sciences

cover image
Modeling Marketing Mix Using Smoothing Splines
18 Jul 2022
towardsdatascience.com

Capturing non-linear advertising saturation and diminishing returns without explicitly transforming media variables

cover image

One of the biggest barriers to traditional machine learning is that most supervised and unsupervised machine learning algorithms need huge amounts of data to be useful in real world use cases. Even…

cover image

How to forecast with scikit-learn and XGBoost models with sktime

cover image

I'm sick of complex blogging solutions, so markdown files in a git repo it is - francisrstokes/githublog

cover image

Brain-inspired unsupervised machine learning through competition, cooperation and adaptation

cover image
How to Solve Scheduling Problems in Python
11 Jul 2022
towardsdatascience.com

Use linear programming to minimize the difference between required and scheduled resources

Gif Creation in Python.
6 Jul 2022
twitter.com

Here you can add multiple Images and duration as well in the code. — Python Coding (@clcoding)

Learn the Python Anvil Framework
5 Jul 2022
pythonanvil.com
cover image
Python for Data Analysis, 3E
2 Jul 2022
wesmckinney.com
cover image

🗃 Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more... - ArchiveBox/ArchiveBox

cover image

I’ve been using Pocket for many years to collate all the articles, blog posts, recipes, etcI’ve found online. I decided it would be…

cover image

Python has a secret superpower with a similarly stupendous name: Magic Methods. These methods can...

cover image
The Battle of Choropleths — Part 3 — Folium
22 Jun 2022
towardsdatascience.com

Using the Folium Package to Create Stunning Choropleths

cover image
Creating Choropleth Maps with Python’s Folium Library
22 Jun 2022
towardsdatascience.com

How to make choropleths with different data structures in Python

cover image

How to use Python libraries like Open3D, PyVista, and Vedo for neighborhood analysis of point clouds and meshes through KD-Trees/Octrees

cover image
Introduction to Simulation with SimPy
7 Jun 2022
link.medium.com

Part 6: Multiple Measures of Performance

cover image

Whenever you are installing python packages, you should always use a virtual environment. pip makes...

cover image

Introduction Hello! In this quick tutorial I will show how to create a simple program...

cover image
3 Ways to Create a Multi-Page Streamlit App
3 Jun 2022
towardsdatascience.com

Streamlit may not have been designed for full-blown websites, but it is fairly straightforward to create multiple pages in a single app

cover image

Easy Python code compilation for blazingly fast applications

cover image

A collection of design patterns/idioms in Python.

cover image

Maps and geography have been a long passion of mine, especially in my International Relations background. A side goal of mine as I grow as…

(BTW, bat: ) — Ned Batchelder (@nedbat)

cover image

Going knee-deep into the internals of Python

cover image

I show toy implementations of Python decorator patterns that may be useful for Data Scientists.

cover image

The introduction of the intel sklearn extension. Make your Random Forest even faster than XGBoost.

cover image
CatBoost vs. LightGBM vs. XGBoost
27 May 2022
towardsdatascience.com

Which is the best algorithm?

cover image
Why We Switched from Python to Go - Software Engineering Daily
26 May 2022
softwareengineeringdaily.com

Switching to a new language is always a big step, especially when only one of your team members has prior experience with that language. Early this year, we switched Stream’s primary programming language from Python to Go. This post will explain some of the reasons why we decided to leave Python behind and make the switch to

cover image

Learn how to visualize data using Seaborn’s axes-level and figure-level plots

cover image

A comparison between Undercomplete and Sparse AE with a detailed Python example

cover image

A detailed explanation of how groupby works under the hood to help you understand it better.

cover image

Let’s compare Python 3.10 vs. Python 3.11 in an extensive benchmark test. Spoiler alert: Python 3.11 is up to 64% faster!

cover image

Apply Louvain’s Algorithm in Python for Community Detection

cover image

In this article we will focus on a complete walk through of a Python tuple data structure

cover image

I was recently reading Django’s Source Code, and I came across the @wraps decorator, which led me to...

cover image
How To Create a SQL Practice Database with Python
26 Mar 2022
towardsdatascience.com

Finally, start practicing SQL with your own database

cover image
7 Useful Examples of Python’s itertools
26 Mar 2022
towardsdatascience.com

Saving time and code with flexible utility functions and paradigms

cover image

Here is my take on this must-have Python library and why you should give it a try

cover image
Glossary — Python 3.10.3 documentation
23 Mar 2022
docs.python.org

>>>, The default Python prompt of the interactive shell. Often seen for code examples which can be executed interactively in the interpreter.,,..., Can refer to:- The default Python prompt of the i...

cover image

Create interactive maps with just a few lines of Python code

cover image

An opinionated list of awesome Python frameworks, libraries, software and resources. - vinta/awesome-python

cover image

A peek into data structures, programming concepts, and best practices.

cover image

Understanding the purpose of requirements.txt, setup.py and setup.cfg in Python when developing and distributing packages

cover image

A test is code that executes code. When you start developing a new feature for your Python project,...

cover image

As a data analyst at Microsoft, I must investigate and understand time-series data every day. Besides looking at some key performance…

cover image

You want to make friends with tabula-py and Pandas

cover image

This is a cross-post from my blog Arcadian.Cloud, go there to see the original post. I have some...

cover image
Scrape Data from PDF Files Using Python and PDFQuery
21 Feb 2022
towardsdatascience.com

Extract Data from PDF Files Effectively

cover image

Understanding Attributes in Python Python is a very dynamic language by nature. Variables...

cover image
Topic Modeling in Python | Toptal
11 Feb 2022
toptal.com

Topic modeling can bring NLP to the next level. Here’s how.

🐍🔥 — Mike Driscoll (@driscollis)

cover image

Immediately start using them…

cover image

Because Graph Analytics is the future

cover image

based on "Hands-On Machine Learning with Scikit-Learn & TensorFlow" (O'Reilly, Aurelien Geron) - bjpcjp/scikit-and-tensorflow-workbooks

cover image
5 Advanced Tips on Python Decorators
26 Jan 2022
towardsdatascience.com

Do you want to write concise, readable, and efficient code? Well, python decorators may help you on your journey.

cover image

A Quick Guide to The Weibull Analysis

cover image

Prophet (FB time series prediction package) docs to Python code. - bjpcjp/fb-prophet

cover image

Based on scatterplot by Myriam Barnes. A simple to viz categories in a scatter plot. - bjpcjp/category-scatterplot

cover image
Creating Beautiful Topography Maps with Python
17 Jan 2022
towardsdatascience.com

Who needs GIS when you can build eye-catching 3D topography maps with Python?

cover image
PostgreSQL Python
16 Jan 2022
postgresqltutorial.com

This PostgreSQL Python section shows how to work with PostgreSQL from Python programming language using the psycopg2 database driver.

cover image

Sourced from O'Reilly ebook of the same name.

cover image

Introductin to PyCaret.

cover image

based on "Hands-On Machine Learning with Scikit-Learn & TensorFlow" (O'Reilly, Aurelien Geron) - bjpcjp/scikit-and-tensorflow-workbooks

cover image

Sourced from O'Reilly ebook of the same name.

pandas - Python Data Analysis Library
16 Jan 2022
pandas.pydata.org
cover image

Sourced from O'Reilly ebook of the same name.

cover image
The Kaggle Way to Tune Hyperparameters with Optuna
16 Jan 2022
towardsdatascience.com

Easily and efficiently optimize your model’s hyperparameters with Optuna with a mini project

🐍🔥 — Mike Driscoll (@driscollis)

cover image

Build in minutes. Deploy in seconds. Quant workflow reimagined. Built by developers for developers 🚀

cover image

Metrics surround us. Whether you're building the next big thing and need to measure customer churn,...

cover image

IPython is a powerful Python REPL that gives you tab completion, better tracebacks, multiline editing, and several useful features on top…

cover image

This article is a comprehensive overview of different open-source tools to extract text and tabular data from PDF Files

cover image

Master usecols, chunksize, parse_dates in pandas read_csv().

cover image

Here is my take on this cool Python library and why you should give it a try

cover image

Dimensionality reduction is a vital tool for data scientists across industries. Here is a guide to getting started with it.

cover image

In this first post in a series on how to build a complete machine learning product from scratch, I describe how to setup your project and tooling.

cover image
Probability Distributions with Python’s SciPy
23 Oct 2021
towardsdatascience.com

How to Model random Processes with Distributions and Fit them to Observational Data

cover image

Source code: Lib/functools.py The functools module is for higher-order functions: functions that act on or return other functions. In general, any callable object can be treated as a function for t...

cover image

Python has a whole lot of builtins that are unknown to most people. This guide aims to introduce you to everything that Python has to offer, through its seemingly obscure builtins.

cover image
Getting Started with Streamlit for Data Science
18 Oct 2021
learning.oreilly.com

Create, deploy, and test your Python applications, analyses, and models with ease using Streamlit Key Features Learn how to showcase machine learning models in a Streamlit application effectively and efficiently … - Selection from Getting Started with Streamlit for Data Science [Book]

cover image

Why, when, and how — Learn assert statements in Python right now.

cover image
Clustering Made Easy with PyCaret
17 Oct 2021
link.medium.com

Low-code Machine Learning with a Powerful Python Library

cover image

Streamlit releases v1.0 of its DataOps platform for data science apps to make it easier for data scientists to share code and components.

cover image

All Algorithms implemented in Python.

cover image

Hello everyone, This is a step by step tutorial about how to deploy your Streamlit app to Heroku. ...

cover image

An aspiring Full Stack Developer’s guide to quickly developing and deploying scalable web applications

cover image
A Practical Introduction to 9 Regression Algorithms
28 Sep 2021
towardsdatascience.com

Hands-on tutorial to effectively use different Regression Algorithms

cover image

This article is the second article of an ongoing series on using Dask in practice. Each article in this series will be simple enough for beginners, but provide useful tips for real work. The first article in the series is about using LocalCluster.

cover image
How to Generate Automated PDF Documents with Python
25 Sep 2021
towardsdatascience.com

Leveraging automation to create dazzling PDF documents effortlessly

cover image
Scikit-Learn Version 1.0
14 Sep 2021
scikit-learn.org

For a short description of the main highlights of the release, please refer to Release Highlights for scikit-learn 1.0. Legend for changelogs something big that you couldn’t do before., something t...

cover image

Just a place to store cheatsheets.

cover image

Quick Python solutions to help your data science cycle.

cover image
Python Imaging Library (PIL) Tutorial
21 Aug 2021
thecleverprogrammer.com

In this article, I will introduce you to a tutorial on the Python Imaging Library. Learn how to use Python Imaging Library or PIL.

cover image
How to Create a Geofence with Python
17 Aug 2021
towardsdatascience.com

Taking Advantage of Your Location Data for an Expansive Range of Possibilities

cover image
5 Ultimate Python Libraries for Image Processing
30 Jul 2021
towardsdatascience.com

OpenCV is not the only one

cover image
scikit-learn-intelex · PyPI
20 Jul 2021
pypi.org

Intel(R) Extension for Scikit-learn is a seamless way to speed up your Scikit-learn application.

PyMOL | pymol.org
18 Jul 2021
pymol.org
cover image
Python Tricks: Generators Explained
16 Jul 2021
towardsdatascience.com

How does a generator in Python work?

cover image

Exploring some of the most useful pip commands for everyday programming

cover image
How to Parameterize Python Tests Using Pytest
13 Jul 2021
towardsdatascience.com

Passing Arguments to Fixtures and Test Functions

There are lots of great Python libraries, but most of them don't come close to what built-in itertools and also

cover image
Why decorators in Python are pure genius
5 Jul 2021
link.medium.com

Analyze, test, and re-use your code with little more than an @ symbol

cover image
Hands-on Survival Analysis with Python
4 Jul 2021
towardsdatascience.com

What companies can learn from employee turnover data

cover image

Facebook AI Research Sequence-to-Sequence Toolkit written in Python. - facebookresearch/fairseq

cover image
Read Excel files with Python. 1000x Faster.
3 Jul 2021
towardsdatascience.com

In this article, I’ll show you five ways to load data in Python. Achieving a speedup of 3 orders of magnitude.

cover image

All Algorithms implemented in Python.

cover image

Present your data as an interactive dashboard web application using the python library Streamlit

cover image

Linear algebra is essential to deep learning and scientific computing, and it’s always been a core part of PyTorch. PyTorch 1.9 extends PyTorch’s support for linear algebra operations with the torch.linalg module. This module, documented here, has 26 operators, including faster and easier to use versions of older PyTorch operators, every function from NumPy’s linear algebra module extended with accelerator and autograd support, and a few operators that are completely new. This makes the torch.linalg immediately familiar to NumPy users and an exciting update to PyTorch’s linear algebra support.

cover image

Combining tree-boosting with Gaussian process and mixed effects models - fabsig/GPBoost

A from-scratch tour of Bitcoin in Python
23 Jun 2021
karpathy.github.io

Musings of a Computer Scientist.

cover image
Introduction - Hugging Face NLP Course
21 Jun 2021
huggingface.co

We’re on a journey to advance and democratize artificial intelligence through open source and open science.

cover image

In this post, we will understand how python functional programming can be used efficiently to achieve tasks artistically as it is rightly said programming is indeed an art. We prefer using higher-order functions than simply looping because internally these are implemented in C making them more effic

cover image

Automate your Python script execution — works on Linux and macOS.

cover image

A deep dive into Python virtual environments, pip and avoiding entangled dependencies

cover image

Set your application secrets, load, and retrieve them easily in your Data Science apps.

cover image
Web Development with Python: Dash (complete tutorial)
14 Jun 2021
towardsdatascience.com

Draw with Plotly, Embed Bootstrap CSS, Upload & Download files, Change Inputs after selection, Navbars, Spinners, and more…

cover image
Mastering Web Applications with Streamlit
14 Jun 2021
towardsdatascience.com

Using Streamlit to Build an ML-based Web Application

cover image
Seaborn can do the job, then why Matplotlib?
12 Jun 2021
towardsdatascience.com

Should you bypass Matplotlib?

cover image

In a real-life factory, the production of identical or similar objects is not done individually but rather streamlined in assembly lines. Similarly, the factory design pattern allows you to create…

Make Pandas 3 Times Faster with PyPolars
31 May 2021
kdnuggets.com

Learn how to speed up your Pandas workflow using the PyPolars library.

cover image

Scroll down to see how to interpret a plot created by a great tool for comparing two classes and their corpora.

cover image

Are you a Data Scientist experienced with Pandas? Then you know its pain points. There's an easy solution - Dask - which enables you to run Pandas computations in parallel.

cover image
Understanding *args and **kwargs in Python
28 May 2021
towardsdatascience.com

If you are a beginning Python programmer, you might come across function declarations with parameters that look like this: The * and the ** operators above allow you to pass in variable number of…

cover image

To be honest, the title of the article does quite a good job in describing what Quantra actually is. It’s a platform that helps potential students with their journey of learning about quantitative…

cover image

In this tutorial, I will show you how to give a cartoon-effect to an image in Python with OpenCV. Op...

cover image
Predict Customer Churn (the right way) using PyCaret
24 May 2021
towardsdatascience.com

A step-by-step guide on how to predict customer churn the right way using PyCaret that actually optimizes the business objective and improves ROI for the business.

cover image
Handling exceptions in Python like a pro ? ?
22 May 2021
blog.guilatrova.dev

In this post, I show you a real-life example of how to create, handle and log exceptions effectively in Python.

cover image
Web Scraping to Create a Dataset using Python
18 May 2021
thecleverprogrammer.com

In this article, I'm going to walk you through a tutorial on web scraping to create a dataset using Python and BeautifulSoup.

cover image

Publication-quality data representation library based on Matplotlib. - alopezrivera/mpl_plotter

cover image
An Introduction to PyTorch Lightning
18 May 2021
towardsdatascience.com

Word on the street is that PyTorch lightning is a much better version of normal PyTorch. But what could it possibly have that it brought such consensus in our world? Well, it helps researchers scale…

Vaex: Pandas but 1000x faster
17 May 2021
kdnuggets.com

If you are working with big data, especially on your local machine, then learning the basics of Vaex, a Python library that enables the fast processing of large datasets, will provide you with a productive alternative to Pandas.

cover image

Computer vision is the field of computer science that focuses on replicating parts of the complexity...

cover image
My Favorite One Liners | Muhammad
5 May 2021
muhammadraza.me

Commandline one liners that makes your workflow more productive

cover image
Prophet | Forecasting at scale.
5 May 2021
facebook.github.io

Prophet is a forecasting procedure implemented in R and Python. It is fast and provides completely automated forecasts that can be tuned by hand by data scientists and analysts.

cover image

I recently wrote a post about visualizing weather data from NOAA. We walked through processing the data and making some basic interactive maps with Plotly. In this article I want to use the same data…

cover image

Sometimes you make a data science , machine learning or computer vision projects but suddenly you stu...

cover image
What is Dask and How Does it Work?
5 May 2021
towardsdatascience.com

This article will first address what makes Dask special and then explain in more detail how Dask works. So: what makes Dask special? Python has a rich ecosystem of data science libraries including…

cover image

To explore SQLite along with Python, which is a user-friendly and no-nonsense language, we are going...

cover image

Automation epitomizes the last few decades of rapid technological development where many processes take place without human intervention. But what exactly does it mean? These are the two most common…

cover image

Pandas is a data analysis and manipulation library for Python. It is one of the most popular tools among data scientists and analysts. Pandas can handle an entire data analytics pipeline. It provides…

cover image

As Data Science continues to grow and develop, it’s only natural for new tools to emerge, especially considering the fact that data…

cover image
A Summary of Active Learning Frameworks
28 Apr 2021
towardsdatascience.com

If you are dealing with a classification task, I recommend the modAL. As for the sequence labeling task, the AlpacaTag is the only choice for you. Active learning could decrease the number of labels…

cover image
Geopandas Hands-on: Geospatial Relations and Operations
26 Apr 2021
towardsdatascience.com

Part 1: Introduction to geospatial concepts (follow here) Part 2: Geospatial visualization and geometry creation (follow here) Part 3: Geospatial operations (this post) Part 4: Building geospatial…

cover image
Five Numpy Functions You Should Understand
25 Apr 2021
towardsdatascience.com

How to stack your array horizontally and vertically, find unique values, split your array and some more tips to use Numpy effectively.

PyCaret is an alternate low-code library that can be used to replace hundreds of lines of code with few lines only. See how to use PyCaret's Regression Module for Time Series Forecasting.

cover image

A basic introduction to Western music theory using the Python programming language to derive scales, chords, and modes in every key.

cover image
Use Python to Design Automation Tools for Excel Users
18 Apr 2021
towardsdatascience.com

Design of Excel Automation Tools for Sales Analytics ready to be used by your colleagues without any prior knowledge of Python

cover image

How to extract and convert tables from PDFs into Pandas Dataframe using Camelot

cover image
3 Python Tricks That Will Ease Your Life
17 Apr 2021
towardsdatascience.com

Explained with examples

cover image
DIY XGBoost library in less than 200 lines of python
13 Apr 2021
towardsdatascience.com

XGBoost explained as well as gradient boosting method and HP tuning by building your own gradient boosting library for decision trees.

A bug that plagues thousands of open-source ML projects.

cover image
How to Accelerate Signal Processing in Python
9 Apr 2021
developer.nvidia.com

This post is the seventh installment of the series of articles on the RAPIDS ecosystem. The series explores and discusses various aspects of RAPIDS that allow its users solve ETL (Extract, Transform…

cover image
Wicked Fast Python With Itertools
9 Apr 2021
towardsdatascience.com

A quick look at an easy way to make Python faster and more effective for machine-learning by using the itertools module.

cover image

A quick tutorial to drop duplicates using the Python Pandas library.

Full-text search is everywhere. From finding a book on Scribd, a movie on Netflix, toilet paper on Amazon, or anything else on the web through Google (like [how to do your job as a software engineer](https://localghost.dev/2019/09/everything-i-googled-in-a-week-as-a-professional-software-engineer/)), you've searched vast amounts of unstructured data multiple times today. What's even more amazing, is that you've even though you searched millions (or [billions](https://www.worldwidewebsize.com/)) of records, you got a response in milliseconds. In this post, we are going to build a basic full-text search engine that can search across millions of documents and rank them according to their relevance to the query in milliseconds, in less than 150 lines of code!

cover image
Xgboost regression training on CPU and GPU in python
23 Mar 2021
towardsdatascience.com

GPU vs CPU training speed comparison for xgboost

cover image
11 Pandas Built-in Functions You Should Know
22 Mar 2021
towardsdatascience.com

No need to install, import and initialize — Just use them

cover image
Conda: essential concepts and tricks
21 Mar 2021
towardsdatascience.com

for beginners as well as advanced users

cover image
How to use loc and iloc for selecting data in Pandas
19 Mar 2021
towardsdatascience.com

Pandas tips and tricks to help you get started with data analysis

cover image

A comprehensive practical guide

cover image

Photo by Divide By Zero on Unsplash There are a ton of awesome packages available in the Python ecos...

cover image

Train, visualize, evaluate, interpret, and deploy models with minimal code.

cover image

Groupby is so powerful, which may sound daunting to beginners, but you don’t have to know all of its features.

cover image

JupyterLab moves closer to becoming a full-fledged IDE with xeus-python.

cover image

Simple and reliable optimization with local, global, population-based and sequential techniques in numerical discrete search spaces. - SimonBlanke/Gradient-Free-Optimizers

cover image

Pandas doesn’t handle well Big Data. These two libraries do! Which one is better? Faster?

PyCaret — pycaret 2.2.0 documentation
25 Feb 2021
pycaret.readthedocs.io
Home - PyCaret
25 Feb 2021
pycaret.org

[et_pb_section fb_built=”1″ admin_label=”Header” _builder_version=”4.12.0″ background_color=”#01012C” collapsed=”on” global_colors_info=”{}”][et_pb_row column_structure=”1_2,1_2″ _builder_version=”4.12.0″ collapsed=”on” global_colors_info=”{}”][et_pb_column type=”1_2″ _builder_version=”4.12.0″ z_index=”10″ custom_padding=”18%||||false|false” global_colors_info=”{}”][et_pb_text _builder_version=”4.14.7″ text_font=”Montserrat|800|||||||” text_text_color=”#01012C” text_font_size=”470px” text_line_height=”1em” positioning=”absolute” custom_margin=”|-30%||-10%|false|false” custom_margin_tablet=”|0%||-5%|false|false” custom_margin_phone=”|0%|||false|false” custom_margin_last_edited=”on|desktop” text_font_size_tablet=”40vw” text_font_size_phone=”40vw” text_font_size_last_edited=”on|tablet” text_text_shadow_style=”preset5″ text_text_shadow_horizontal_length=”-1.5px” text_text_shadow_vertical_length=”-1.5px” text_text_shadow_color=”#DB0EB7″ global_colors_info=”{}”] pc [/et_pb_text][et_pb_text _builder_version=”4.14.7″ header_font=”Barlow Condensed|500|||||||” header_text_color=”#FFFFFF” header_font_size=”122px” custom_margin=”||0px||false|false” header_font_size_tablet=”42px” header_font_size_phone=”26px” header_font_size_last_edited=”on|tablet” global_colors_info=”{}”] low-code machine learning [/et_pb_text][et_pb_button button_url=”https://pycaret.gitbook.io” url_new_window=”on” button_text=”GET STARTED” _builder_version=”4.14.7″ […]

Concluding this three-part series covering a step-by-step review of statistical survival analysis, we look at a detailed example implementing the Kaplan-Meier fitter based on different groups, a Log-Rank test, and Cox Regression, all with examples and shared code.

cover image
A/B Testing — A complete guide to statistical testing
18 Feb 2021
towardsdatascience.com

Optimizing web marketing strategies through statistical testing

cover image

A/B Testing — A complete guide to statistical testing - bjpcjp/AB_Testing

cover image
Generative Graph Models with NetworkX
10 Feb 2021
towardsdatascience.com

A comprehensive guide on standard generative graph approaches with implementation in NetworkX

cover image
8 Must-Know File System Operations In Python
7 Feb 2021
towardsdatascience.com

The essential for Python in tasks automation apps

cover image
Image Processing with Python — Using RG Chromaticity
1 Feb 2021
towardsdatascience.com

How to use the Gaussian Distribution for Image Segmentation

cover image

How to identify similar objects in your image

cover image

How to identify and segregate specific blobs in your image

cover image

A complete explanation of the inner workings of Support Vector Machines (SVM) and Radial Basis Function (RBF) kernel

cover image

Create PDF reports with beautiful visualizations in 10 minutes or less.

cover image

Essential guide to multiprocessing with Python.

cover image

An Overview of the Most Important Features in Version 0.24

cover image

Go beyond the usual

cover image

How do you apply convolution kernels to colored images?

cover image

Uplift models seek to predict the incremental value attained in response to a treatment. For example, if we want to know the value of showing an advertisement to someone, typical response models will only tell us that a person is likely to purchase after being given an advertisement, though they may have been likely to purchase already. Uplift models will predict how much more likely they are to purchase after being shown the ad. The most scalable uplift modeling packages to date are theoretically rigorous, but, in practice, they can be prohibitively slow. We have written a Python package, pylift, that implements a transformative method wrapped around scikit-learn to allow for (1) quick implementation of uplift, (2) rigorous uplift evaluation, and (3) an extensible python-based framework for future uplift method implementations.

cover image

A deeper look into the fundamentals of image dilation and erosion with the use of kernels.

cover image

A heatmap is a graphical representation of data in which data values are represented as colors. That is, it uses color in order to…

cover image

The string matching problem also known as “the needle in a haystack” is one of the classics. This simple problem has a lot of application…

cover image

Demystifying the inner workings of BFGS optimization

cover image

There are so many amazing Python libraries out there that it's hard to keep track of all of them. That's why we share with you our hand-picked selection of some top libraries.

cover image
shutil — High-level file operations
18 Dec 2020
docs.python.org

Source code: Lib/shutil.py The shutil module offers a number of high-level operations on files and collections of files. In particular, functions are provided which support file copying and removal...

cover image

Get started with Azure App Service by deploying your first Python app to Azure App Service.

cover image

A visual analysis of Brazilian Higher Education history

cover image

Design a simulation model to estimate the impact of several Single Picker Routing Problem strategies in your Picking Productivity

cover image

Using Prophet to forecast commodity prices

cover image
Matching of Bipartite Graphs using NetworkX
18 Dec 2020
towardsdatascience.com

A simple introduction to matching in bipartite graphs with Python code examples

cover image

This article was written by Louis Tiao.   In this series of notebooks, we demonstrate some useful patterns and recipes for visualizing animating optimization algorithms using Matplotlib.     We shall restrict our attention to 3-dimensional problems for right now (i.e. optimizing over only 2 parameters), though what follows can be extended to higher dimensions… Read More »Visualizing and Animating Optimization Algorithms with Matplotlib

cover image
How to Install Flask on Ubuntu 20.04
10 Dec 2020
linuxize.com

In this article we'll discuss how to install Flask on Ubuntu 20.04 inside a Python virtual environment.

cover image

Color transfer, Image editing and Automatic Translation

cover image

Learn to Develop Choropleth Map Easily Using Python’s Folium Library

cover image
Data Visualization Using Pandas Bokeh
10 Dec 2020
towardsdatascience.com

Create stunning visualizations for Pandas DataFrames

cover image
Favorites
9 Dec 2020
towardsdatascience.com

Pywedge helps in visualizing the data, preprocessing, and creating baseline models

cover image

NumPy forms the basis of many Python libraries in the data science domain.

cover image

An introduction to PyMC3 through a concrete example

cover image
Optimization in Python — Peephole
29 Nov 2020
towardsdatascience.com

A brief introduction to Python’s Peephole optimization technique

cover image
Show HN: A list of 470 static analysis tools
29 Nov 2020
analysis-tools.dev

Find static code analysis tools and linters for Java, JavaScript, PHP, Python, Ruby, C/C++, C#, Go, Swift, and more. All tools and linters are peer-reviewed by fellow developers to select the best tools available. Avoid bugs in production, outages on weekends, and angry customers.

cover image
Optimization in Python — Interning
29 Nov 2020
towardsdatascience.com

Understand Python’s optimization technique — Interning.

cover image
Five Advanced Python Features
29 Nov 2020
towardsdatascience.com

Curly brace scopes, autovivification, and other methods for writing better code

cover image
Part 8: AB-Joins with STUMPY
29 Nov 2020
towardsdatascience.com

Finding Conserved Patterns Across Two Time Series

cover image
5 Minute Guide to Decorators in Python
22 Nov 2020
towardsdatascience.com

Let’s master the more advanced topics in no-time

cover image

Learn which of the 9 most prominent automatic speech recognition engines is best for your needs, and how to use it in Python programs.

cover image
4 Rarely-Used Yet Very Useful Pandas Tricks
19 Nov 2020
towardsdatascience.com

Explained with examples

cover image

Performing Data Visualization using PySpark

A nice thing about Python is that there is tons of modules available out there. Not all those modules are readily available for your distro and even if there were, chances are that a newer release with new features is already out there.

cover image

Asyncio helps you to write asynchronous functions using python making your application a lot faster with better user experience with its easy to use syntax.

System status : Stanford Libraries
3 Nov 2020
stacks.stanford.edu
cover image
Geometric Algebra for Python
3 Nov 2020
github.com

Geometric Algebra for Python.

cover image
Numba: JIT Compilation, But For Python
3 Nov 2020
towardsdatascience.com

A quick look at a fantastic tool for making Python better in 2020.

cover image

In a previous post, I created a guide for JavaScript higher-order functions to make dealing with arra...

cover image
What is Perspective Warping ? | OpenCV and Python
3 Nov 2020
towardsdatascience.com

A step-by-step guide to apply perspective transformation on images

cover image

A unique python library that extends the python programming language and provides utilities that enhance productivity.

cover image

How you could use defaultdict and Counter to make your code short and readable

In the first post of the series we've looked at the CPython VM. We've learned that it works by executing a series of instructions called bytecode....

Making Python Programs Blazingly Fast
3 Nov 2020
kdnuggets.com

Let’s look at the performance of our Python programs and see how to make them up to 30% faster!

cover image
ReactJS Python Flask on Heroku
3 Nov 2020
towardsdatascience.com

Making a Framework for API Development and Deployment

cover image
Vectorizing code matters
3 Nov 2020
towardsdatascience.com

I come from the world of MATLAB and numerical computing, where for loops are shorn and vectors are king. During my PhD at UVM, Professor…

cover image
Pytest for Data Scientists
3 Nov 2020
towardsdatascience.com

A Comprehensive Guide to Pytest for your Data Science Projects

cover image

A tour of one of the most popular topic modelling techniques and a guide to implementing and visualising it using pyLDAvis

cover image
Six Python Tips for Geospatial Data Science
3 Nov 2020
towardsdatascience.com

How to easily and effectively incorporate spatial features in Python using Geopandas

cover image

How to manage external resources in Python with your custom context managers

cover image
Pandas on the Cloud with Dask
3 Nov 2020
towardsdatascience.com

Scaling your Pythonic data science and machine learning to the cloud using Dask. All from the comfort of your own laptop.

cover image
Choropleth Maps — 101 using Plotly
3 Nov 2020
towardsdatascience.com

I have been working as a Data Analyst for almost 5 years now but, in this time I have mostly used business intelligence software for all…

cover image

How to use GeoPandas and Leaflet?

cover image
Python 3.9 New Features & How to Use Them
2 Nov 2020
towardsdatascience.com

Python 3.9 New Feature Guide

cover image

A simple solution for data analytics for big data parallelizing computation in Numpy, Pandas, and Scikit-Learn Frameworks.

cover image
NumPy Array Processing With Cython: 1250x Faster
2 Nov 2020
towardsdatascience.com

This article was originally published on the Paperspace blog. You can run the code for my tutorials for free on Gradient.

cover image

How to make CPython faster.

cover image
Python For Feature Film
20 Oct 2020
gfx.dev

A look into how Python is used to bring your favorite movies to the big screen.

cover image
How to extract tables from PDF files with Camelot
18 Aug 2020
towardsdatascience.com

A quick guide for extracting the tables from PDF files in Python using Camelot library

cover image
How to integrate Excel with Python
10 Aug 2020
towardsdatascience.com

Top 3 Excel-Python integration methods and what you can do with them

cover image

Explained with examples.

cover image
Get Started With PyTorch With These 5 Basic Functions.
10 Aug 2020
towardsdatascience.com

As the ever-growing demand for deep learning continues to rise, more developers and data scientists are joining the deep-learning…

cover image
New features in scikit-learn
10 Aug 2020
towardsdatascience.com

Overview of the latest developments in version 0.23

3 Advanced Python Features You Should Know
10 Aug 2020
kdnuggets.com

As a Data Scientist, you are already spending most of your time getting your data ready for prime time. Follow these real-world scenarios to learn how to leverage the advanced techniques in Python of list comprehension, Lambda expressions, and the Map function to get the job done faster.

cover image

Enhance your data science project

cover image
Brownian motion with Python
10 Aug 2020
towardsdatascience.com

We show how to emulate Brownian motion, the most famous stochastic process used in a wide range of applications, using simple Python code.

cover image

Confused about which Visualization Tool to Use? I Broke Down the Pros and Cons of Each Libary for You

cover image
5 Lesser-Known Seaborn Plots Most People Don’t Know
22 Jul 2020
towardsdatascience.com

But really should know

cover image
7 Advanced Python Dictionary Techniques
21 Jul 2020
towardsdatascience.com

Master the Python Dictionary with these tips

cover image

When and how to use which.

cover image
Ultimate PySpark Cheat Sheet
24 Jun 2020
towardsdatascience.com

A short guide to the PySpark DataFrames API

cover image
10 Techniques to Speed Up Python Runtime
24 Jun 2020
towardsdatascience.com

Compare good writing style and bad writing style with the code runtime

Using Enumerated Types in Python
24 Jun 2020
johnlekberg.com
cover image
Understand zip() — A Hidden Gem in Python
24 Jun 2020
towardsdatascience.com

Effectively merge an unknown number of lists

cover image

Understand the basics with a concrete example!

Martin Heinz - Personal Website & Blog
3 Jun 2020
martinheinz.dev

Even if you write clear and readable code, even if you cover your code with tests, even if you are very experienced developer, weird bugs will inevitab...

cover image

Pandas: From Journeyman to Master — Voice from the victim.

cover image

Do you know about these packages?

cover image
Automated Data Import with Python
1 Jun 2020
towardsdatascience.com

A different approach to import data files automatically in python.

cover image

Ultra high resolution satellite and elevation imagery

cover image
Eigenfaces — Face Classification in Python
1 Jun 2020
towardsdatascience.com

Not enough data for Deep Learning? Try Eigenfaces.

cover image
Financial Independence — Simulating ODEs With Python
1 Jun 2020
towardsdatascience.com

Use Python to set your path towards it.

cover image

with usage examples

cover image

Introduction

cover image
Iris Classifier Flask App
1 Jun 2020
towardsdatascience.com

Hey guys this my first blog on Medium. This is an Iris classification ML model turned into a flask app for hosting on Heroku.

cover image
Creating typography using word cloud in python
1 Jun 2020
towardsdatascience.com

A Picture is worth a thousand words. Literally! there are 2200+ words in this picture. 😱

cover image
Pandas with Dask, For an Ultra-Fast Notebook
1 Jun 2020
towardsdatascience.com

Use Pandas with Dask to save time and resources. This combination will make your notebook ultra fast

cover image
Venvs & Pyenvs & Pipenvs, OH MY!
1 Jun 2020
towardsdatascience.com

A deep dive beginner’s guide into different python virtual environments, the benefits of each, and how to get started using them

Check out these 5 cool Python libraries that the author has come across during an NLP project, and which have made their life easier.

cover image

Building up the intuition for how matrices help to solve a system of linear equations and thus regressions problems

cover image
Learn Python: Sets
1 Jun 2020
dev.to

Introduction to sets in Python

cover image
10 things you should know about Sets in Python
1 Jun 2020
towardsdatascience.com

Guidelines to use sets in Python

cover image

Explaining outlier detection with PyCaret library in python

cover image
All About Python List Comprehension
1 Jun 2020
towardsdatascience.com

Elegant, comfortable, concise, and fast way to build lists

cover image

Recursive Feature Elimination, or RFE for short, is a popular feature selection algorithm. RFE is popular because it is easy to configure and use and because it is effective at selecting those features (columns) in a training dataset that are more or most relevant in predicting the target variable. There are two important configuration options when using RFE: the choice…

Guide to Concurrency in Python with Asyncio
1 Jun 2020
integralist.co.uk

This is a quick guide to Python’s asyncio module and is based on Python version 3.8. Introduction Why focus on asyncio? A quick asyncio summary A quick concurrent.futures summary Green Threads? Event Loop Awaitables Coroutines Tasks Futures Running an asyncio program Running Async Code in the REPL Use another Event Loop Concurrent Functions Deprecated Functions Examples gather wait wait_for as_completed create_task Callbacks Pools Executors asyncio.Future vs concurrent.futures.Future asyncio.wrap_future Introduction So let’s start by addressing the elephant in the room: there are many modules provided by the Python standard library for handling asynchronous/concurrent/multiprocess code…

cover image
3 Highly Practical Operations of Pandas
1 Jun 2020
towardsdatascience.com

Sample, where, isin explained in detail with examples.

Hypermodern Python · Claudio Jolowicz
1 Jun 2020
cjolowicz.github.io

A guide to modern Python tooling with a focus on simplicity and minimalism.

cover image

Clearly distinguish loc and iloc

cover image

Lagrange Multiplier on a function with 2 variables with 1 equality constraint

cover image
Python SQLite Tutorial — The Ultimate Guide
15 May 2020
towardsdatascience.com

Everything You Need to Get Started!

cover image
10 Interesting Python Tricks to knock your socks off
15 May 2020
towardsdatascience.com

Important list of 10 python snippets to make your code efficient

cover image
Stop Hurting Your Pandas!
15 May 2020
kdnuggets.com

This post will address the issues that can arise when Pandas slicing is used improperly. If you see the warning that reads "A value is trying to be set on a copy of a slice from a DataFrame", this post is for you.

cover image
My Top 5 Pandas Data Manipulation Function
15 May 2020
towardsdatascience.com

Know your Pandas library function arsenal as a data scientist

cover image
NumPy Array Manipulation
15 May 2020
towardsdatascience.com

A practical guide to modify the shape of arrays

cover image

This new Python package accelerates notebook-based machine learning experimentation

cover image

Using q-learning for sequential decision making and therefore learning to play a simple game.

cover image
Basic Curve Fitting of Scientific Data with Python
15 May 2020
towardsdatascience.com

A basic guide to using Python to fit non-linear functions to experimental data points

Why and How to Use Dask with Big Data
15 May 2020
kdnuggets.com

The Pandas library for Python is a game-changer for data preparation. But, when the data gets big, really big, then your computer needs more help to efficiency handle all that data. Learn more about how to use Dask and follow a demo to scale up your Pandas to work with…

cover image

I came across Pycaret while I was browsing on a slack for data scientists. It's a versatile library in which you can apply/evaluate/tune…

cover image
Hyperspectral Image Analysis — Getting Started
15 May 2020
towardsdatascience.com

A Walkthrough on Hyperspectral Image Analysis Using Python.

SICP in Python
15 May 2020
wizardforcel.gitbooks.io

Berkeley CS61A Textbook

cover image

How to linearize a quadratic function to use it in a linear solver, (a.k.a. I don’t have money to pay for Gurobi) using a retail example

cover image

Apache Spark is one of the hottest new trends in the technology domain. It is the framework with probably the highest potential to realize…

cover image

A code-along guide for Pandas’ advanced functionalities.

cover image

Parts 1 and 2 are found here and here

cover image
Python Power Tip: Enumerated Types
15 May 2020
towardsdatascience.com

The right way to represent a finite set of alternatives

cover image

The ultimate guide on open source GIS tools for spatial analysis. Find the tools you need to support your next spatial data project!

cover image

An Overview Of popular python libraries for Natural Language Processing

cover image
Web Applications in Python - Towards Data Science
27 Apr 2020
towardsdatascience.com

Getting Started with Django

cover image
How to Master Python Command Line Arguments
21 Apr 2020
towardsdatascience.com

A simple guide to create your own Python script with command line arguments

cover image
3 Insane Secret Weapons for Python
21 Apr 2020
towardsdatascience.com

I don’t know how I lived without them

cover image
Bar chart race with Plotly
19 Apr 2020
towardsdatascience.com

Most common baby names in Barcelona

cover image

In real life, data preprocessing is really a pain for most data scientists. But with the help of data visualization libraries, it actually…

cover image
Memoization in Python
19 Apr 2020
towardsdatascience.com

Introduction to Memoization

cover image

Learn matrix multiplication for machine learning by following along with Python examples

cover image
Mastering Pandas Groupby
15 Apr 2020
towardsdatascience.com

Understanding the Groupby Method

cover image
Pandas tips I wish I knew before
15 Apr 2020
towardsdatascience.com

How does pivot work? What is the main pandas building block? And more …

cover image
Visualize Categorical Relationships With Catscatter
8 Apr 2020
towardsdatascience.com

What if you can create a scatter plot for categorical features?

cover image
The Art of Geofencing in Python
1 Apr 2020
towardsdatascience.com

Tutorial — Triggering notifications and Nudging GPS locations from users.

cover image

Learn the basics of working with RGB and Lab images to boost your computer vision projects!

cover image
Lesser-known pandas tricks (2019)
1 Apr 2020
towardsdatascience.com

5 lesser-known pandas tricks that help you be more productive

cover image
How to Export Pandas DataFrame to CSV
1 Apr 2020
towardsdatascience.com

In this post, we’ll go over how to write DataFrames to CSV files.

cover image
Seaborn Visualizations Tutorial
1 Apr 2020
towardsdatascience.com

A walkthrough of many Seaborn tools using NHL Statistics

cover image
Probability Learning: Monte Carlo Methods
1 Apr 2020
towardsdatascience.com

Learn Monte Carlo Methods with three simple examples

cover image

https://github.com/sepandhaghighi/pycm https://www.pycm.ir custom_rounder function added #279 complement function added sparse_matrix attribute added…

cover image

Extract data from different sources

cover image
Less Known but Very Useful Pandas Functions
31 Mar 2020
towardsdatascience.com

Expedite your data analysis process

cover image

Why and How to use with examples of Keras/XGBoost

cover image
10 Python built-in functions you should know
23 Mar 2020
towardsdatascience.com

with usage examples

cover image
NumPy indexing explained
23 Mar 2020
towardsdatascience.com

NumPy is the universal standard for working with Numerical data in Python. Multidimensional NumPy arrays are extensively used in Pandas…

In this tutorial, you will learn how to connect to the PostgreSQL database server from Python using the psycopg2 package.

"Pandas" - KDnuggets
20 Mar 2020
kdnuggets.com
cover image
Top 3 Numpy Functions You Don’t Know About (Probably)
20 Mar 2020
towardsdatascience.com

The ones not covered in every How-to Guide

cover image

Master these pandas functions (and methods) to shorten your code, improve performance and avoid headaches.

cover image
Why and How to Use Dask with Big Data
18 Mar 2020
towardsdatascience.com

As a Data Scientist

cover image
Decorators in Python
14 Mar 2020
towardsdatascience.com

Learn how you can change the behavior of objce

cover image

Cleaner Code and Fewer Loops? Count me in.

Learn about the advanced features the requests library hides under the hood. DRY base URLs, hooks, retry on failure, default timeouts and mocking.

cover image
Fast & Asynchronous in Python
9 Mar 2020
towardsdatascience.com

Accelerate Your Requests Using asyncio

cover image

If you have ever heard Python and Fourier nouns, chances are you’ll find this post useful: here I will explore a simple way to implement…

cover image
Please Stop Doing These 5 Things in Pandas
9 Mar 2020
towardsdatascience.com

These mistakes are super common, and super easy to fix.

PyTorch internals
9 Mar 2020
blog.ezyang.com
cover image

"The Ultimate Guide to using the Python regex module" https://lttr.ai/Nt5c #regex #Python #datascience #nlp

cover image
12 Amazing Pandas & NumPy Functions
9 Mar 2020
towardsdatascience.com

Make your day to day life easier by using these functions in your analysis

cover image

Convert images to a string with Google Tesseract and then into a static HTML site using python

Python has some great data visualization librairies, but few can render GIFs or video animations. This post shows how to use MoviePy as a generic …

Automate the Boring Stuff with Python
19 Feb 2020
automatetheboringstuff.com
cover image
Python String Processing Primer
19 Feb 2020
kdnuggets.com

Try this string processing primer cheatsheet to gain an understanding of using Python to manipulate and process strings at a basic level.

cover image

We show how to build intuitive and useful pipelines with Pandas DataFrame using a wonderful little library called pdpipe.

Check out this collection of 10 Python snippets that can be taken as a reference for your daily work.

Martin Heinz - Personal Website & Blog
19 Feb 2020
martinheinz.dev

Python haters always say, that one of reasons they don't want to use it, is that it's slow. Well, whether specific program - regardle...

cover image

Spend more time modeling, and less time managing infrastructures. A hands-on tutorial.

cover image

Nature Methods - This Perspective describes the development and capabilities of SciPy 1.0, an open source scientific computing library for the Python programming language.

cover image

A tutorial about a HTML parser for Python 3. Learn about the basic of a library for easily parsing web pages and extracting useful information.

cover image

Dive deep into OCR with Tesseract, including Pytesseract integration, training with custom data, limitations, and comparisons with enterprise solutions.

Python Tuples and Tuple Methods
14 Dec 2019
kdnuggets.com

Brush up on your Python basics with this post on creating, using, and manipulating tuples.

While Pandas is the library for data processing in Python, it isn't really built for speed. Learn more about the new library, Modin, developed to distribute Pandas' computation to speedup your data prep.

cover image

You can process data that doesn’t fit in memory by using four basic techniques: spending money, compression, chunking, and indexing.

In this post, learn how to extend Scikit-learn code to make your experiments easier to maintain and reproduce.

The pandas library offers core functionality when preparing your data using Python. But, many don't go beyond the basics, so learn about these lesser-known advanced methods that will make handling your data easier and cleaner.

On the Linux command line it is fairly easy to use the perf command to measure number of floating point operations (or other performance metrics). (See for example this old blog post ) with this approach it is not easy to get a fine grained view of how different stages of processings within a single process. In this short note I describe how the python-papi package can be used to measure the FLOP requirements of any section of a Python program.

cover image

Editor, Raymond Hettinger,. This article explains the new features in Python 3.8, compared to 3.7. Python 3.8 was released on October 14, 2019. For full details, see the changelog. Summary – Releas...

cover image
PyPy's New JSON Parser
9 Oct 2019
morepypy.blogspot.com

Introduction In the last year or two I have worked on and off on making PyPy's JSON faster, particularly when parsing large JSON files. I...

cover image

Learn how to simplify your Python code using partial functions to create more flexible, reusable, and concise function calls

cover image

This tutorial will give you a firm grasp of Python’s approach to async IO, which is a concurrent programming design that has received dedicated support in Python, evolving rapidly from Python 3.4 through 3.7 (and probably beyond).

A Grammar of Graphics for Python – plotnine 0.13.6
30 Aug 2019
plotnine.readthedocs.io
cover image
PySpark Cheat Sheet: Spark in Python
30 Aug 2019
datacamp.com

This PySpark cheat sheet with code samples covers the basics like initializing Spark in Python, loading data, sorting, and repartitioning.

Installation — Datashader v0.16.3
30 Aug 2019
datashader.org
cover image

Using ARIMA model, you can forecast a time series using the series past values. In this post, we build an optimal ARIMA model from scratch and extend it to Seasonal ARIMA (SARIMA) and SARIMAX models. You will also see how to build autoarima models in python

cover image
Python at Netflix
29 Aug 2019
link.medium.com

By Pythonistas at Netflix, coordinated by Amjith Ramanujam and edited by Ellen Livengood

L
29 Aug 2019
l.facebook.com
cover image

This post is a part of my series on Python Shorts. Some tips on how to use python. This post is about using the computing power we have at hand and applying it to the data structure we use most.

cover image

Did you know you can write functions in C and then call them directly from Python? Isn't that cool? L...

cover image

A Python Library for Outlier and Anomaly Detection, Integrating Classical and Deep Learning Techniques - yzhao062/pyod

This article lists some curated tips for working with Python and Jupyter Notebooks, covering topics such as easily profiling data, formatting code and output, debugging, and more. Hopefully you can find something useful within.

cover image
Cython
21 May 2019
shop.oreilly.com

Build software that combines Python’s expressivity with the performance and control of C (and C++). It’s possible with Cython, the compiler and hybrid programming language used by foundational packages such … - Selection from Cython [Book]

cover image

In recent years REST (REpresentational State Transfer) has emerged as the standard architectural design for web services and web APIs.In this article I'm going to show you how easy it is to create a…

cover image

Something a lot of beginners struggle with is the concept of passing data between different programmi...

cover image

Bokeh is a Python library for creating interactive visualizations for modern web browsers. It helps you build beautiful graphics, ranging from simple plots to complex dashboards with streaming data...

cover image

A guided walkthrough of how to use the Prophet python library to solve a common forecasting problem.

cover image
Dash ? – plotly – Medium
20 Feb 2019
medium.com

Create Reactive Web Apps in pure Python

cover image
15 Statistical Hypothesis Tests in Python (Cheat Sheet)
12 Feb 2019
machinelearningmastery.com

Quick-reference guide to the 17 statistical hypothesis tests that you need in applied machine learning, with sample code in Python. Although there are hundreds of statistical hypothesis tests that you could use, there is only a small subset that you may need to use in a machine learning project. In this post, you will discover a cheat sheet for the…

cover image
Why you should be using pathlib
8 Jan 2019
treyhunner.com

When I discovered Python’s new pathlib module a few years ago, I initially wrote it off as being a slightly more awkward and unnecessarily …

cover image
Python profiling with Pyflame
1 Jan 2019
medium.com

Profiling Python applications using Pyflame

Here are the top 15 Python libraries across Data Science, Data Visualization. Deep Learning, and Machine Learning.

Anaconda is the birthplace of Python data science. We are a movement of data scientists, data-driven enterprises, and open source communities.

cover image
newspaper3k · PyPI
12 Sep 2018
pypi.org

Simplified python article discovery & extraction.

cover image

Learn how these 12 dimensionality reduction techniques can help you extract valuable patterns and insights from high-dimensional datasets.

cover image
An A-Z of useful Python tricks
6 Sep 2018
medium.freecodecamp.org

By Peter Gleeson Python is one of the world’s most popular, in-demand programming languages. This is for many reasons: it’s easy to learn it’s super versatile it has a huge range of modules and libraries I use Python daily as an integral part of my...

cover image

A context-preserving word cloud generator.

cover image

Recently I’ve started using PyMC3 for Bayesian modelling, and it’s an amazing piece of software! The API only exposes as much of heavy machinery of MCMC as you need — by which I mean, just the pm.sample() method (a.k.a., as Thomas Wiecki puts it, the Magic Inference Button™). This really frees up your mind to think about your data and model, which is really the heart and soul of data science! That being said however, I quickly realized that the water gets very deep very fast: I explored my data set, specified a hierarchical model that made sense to me, hit the Magic Inference Button™, and… uh, what now? I blinked at the angry red warnings the sampler spat out.

cover image
A Feature Selection Tool for Machine Learning in Python
30 Aug 2018
towardsdatascience.com

Using the FeatureSelector for efficient machine learning workflows

cover image

Using mlxtend to perform market basket analysis on online retail data set.

cover image

Originally published at https://www.datacamp.com/community/tutorials/finance-python-trading

cover image

During my years as a Consultant Data Scientist I have received many requests from my clients to provide frequency distribution

Last time we saw a geometric version of the algorithm to add points on elliptic curves. We went quite deep into the formal setting for it (projective space $ \mathbb{P}^2$), and we spent a lot of time talking about the right way to define the “zero” object in our elliptic curve so that our issues with vertical lines would disappear. With that understanding in mind we now finally turn to code, and write classes for curves and points and implement the addition algorithm.

cover image

Python decorators are a useful but flawed language feature. Intended to make source code easier to write, and a little more readable, they neglect to address another use case: that of the programmer who will be calling the decorated code. If you’re a Python programmer, the following post will show you why decorators exist, and how to compensate for their limitations. And even if you’re not a Python a programmer, I hope to demonstrate the importance of keeping in mind all of the different audiences for the code you write.

cover image

An easy-to-use library for recommender systems.

cover image

Discover 100 collaborative articles on domains such as Marketing, Public Administration, and Healthcare. Our expertly curated collection combines AI-generated content with insights and advice from industry experts, providing you with unique perspectives and up-to-date information on many skills and their applications.

cover image
Topic Modeling with Gensim (Python) - A Practical Guide
12 May 2018
machinelearningplus.com

Topic Modeling is a technique to understand and extract the hidden topics from large volumes of text. Latent Dirichlet Allocation(LDA) is an algorithm for topic modeling, which has excellent implementations in the Python's Gensim package. This tutorial tackles the problem of finding the optimal number of topics.

cover image

How do I import files in Python? I want to import: a file (e.g. file.py) a folder a file dynamically at runtime, based on user input one specific part of a file (e.g. a single function)

cover image
Introduction to Python Generators
23 Jan 2018
code.tutsplus.com

Generators make it easy to create iterations in Python and in return write less code. This tutorial will introduce you to Python generators, their benefits, and how they work. Basics A generator...

cover image

A step-by-step guide for deploying your first Python app and mastering the basics of Heroku

cover image

Minimal examples of data structures and algorithms in Python - keon/algorithms

cover image

Standard Deviation is one of the most underrated statistical tools out there. It’s an extremely useful metric that most people know how to calculate but very few know how to use effectively.

cover image

Numba is an open-source Python compiler from Anaconda that can compile Python code for high-performance execution on CUDA-capable GPUs or multicore CPUs.

cover image
Understanding Args and Kwargs in Python
27 Dec 2017
code.tutsplus.com

In this tutorial, I will be focusing on arguments (*args) and keyword arguments (*kwargs) in Python. I will teach you what args and kwargs are and, most importantly, how to use them—that is...

cover image

A tutorial on organizing python code into reusable units, building packages, and using conda. - vestuto/reusable-python

cover image

The Python Graph Gallery displays hundreds of charts made with Python, always with explanation and reproduciible code

cover image
Anvil: Web Apps with Nothing but Python
31 Oct 2017
anvil.works

Yes, really, nothing but Python! Anvil has a drag-and-drop editor, Python in the browser and on the server, and one-click deployment.

Making a Static Blog with Pelican | EF
27 Oct 2017
nafiulis.me
cover image
Beginner’s Guide to FastAPI
24 Oct 2014
kdnuggets.com

FastApi is a contemporary web framework designed for creating RESTful APIs with Python 3.8 or later.

cover image

The challenge of managing and recalling facts from complex, evolving conversations is a key problem for many AI-driven applications. As information grows and changes over time, maintaining accurate context becomes increasingly difficult. Current systems often struggle to handle the evolving nature of relationships and facts, leading to incomplete or irrelevant results when retrieving information. This can affect the effectiveness of AI agents, especially when dealing with user memories and context in real-time applications. Some existing solutions have attempted to address this problem. One common approach is using a Retrieval-Augmented Generation (RAG) pipeline, which involves storing extracted facts and using techniques

cover image
AI & ML Projects with Python
24 Oct 2011
thecleverprogrammer.com

In this article, I'll take you through a list of guided projects to master AI & ML with Python. AI & ML Projects with Python.

cover image
Gradio Documentation
24 Sep 2010
gradio.app

Documentation, tutorials and guides for the Gradio ecosystem..

Code level discussion of web scraping, gray hat automation, growth hacking and bounty hunting

PyMuPDF 1.24.10 documentation
24 Sep 2008
pymupdf.readthedocs.io

PyMuPDF is a high-performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.

cover image

Extracting structured data from unstructured sources like PDFs, webpages, and e-books is a significant challenge. Unstructured data is common in many fields, and manually extracting relevant details can be time-consuming, prone to errors, and inefficient, especially when dealing with large amounts of data. As unstructured data continues to grow exponentially, traditional manual extraction methods have become impractical and error-prone. The complexity of unstructured data in various industries that rely on structured data for analysis, research, and content creation. Current methods for extracting data from unstructured sources, including regular expressions and rule-based systems, are often limited by their inability to maintain