- Python in Excel: This Will Change Data Science Forever - Sep 18, 2023.
You can now run Python code in Excel to analyze data, build machine learning models, and create visualizations.
Python
- Applying Descriptive and Inferential Statistics in Python - Sep 13, 2023.
As you progress in your data science journey, here are the elementary statistics you should know.
Python
- Profiling Python Code Using timeit and cProfile - Sep 11, 2023.
An introductory guide to profiling Python code using the timeit and cProfile modules.
Python
- Leveraging Geospatial Data in Python with GeoPandas - Sep 8, 2023.
A comprehensive introduction to geospatial data analysis with GeoPandas.
Python
- Python Control Flow Cheat Sheet - Sep 6, 2023.
The latest KDnuggets cheatsheet focuses on Python flow control, how we manage the execution order of statements in a program. Check it out for a quick start.
Python
- Getting Started with Python Data Structures in 5 Steps - Sep 3, 2023.
This tutorial covers Python's foundational data structures - lists, tuples, dictionaries, and sets. Learn their characteristics, use cases, and practical examples, all in 5 steps.
Python
- Python Basics: Syntax, Data Types, and Control Structures - Sep 2, 2023.
Want to learn Python? Get started today by learning Python's syntax, supported data types, and control structures.
Python
- Build Your Own PandasAI with LlamaIndex - Sep 1, 2023.
Learn how to leverage LlamaIndex and GPT-3.5-Turbo to easily add natural language capabilities to Pandas for intuitive data analysis and conversation.
Python
- 4 Python Itertools Filter Functions You Probably Didn’t Know - Aug 31, 2023.
And why you should learn how to use them to filter Python sequences more elegantly.
Python
- Create a Dashboard Using Python and Dash - Aug 28, 2023.
The article explains how to build a Netflix dashboard with Python and Dash to visualize content distribution and classification using maps, charts, and graphs.
Python
- Beyond Numpy and Pandas: Unlocking the Potential of Lesser-Known Python Libraries - Aug 21, 2023.
3 Python libraries for scientific computation you should know as a data professional.
Python
- Best Practices to Use OpenAI GPT Model - Aug 18, 2023.
The improvement you need to get the best result from GPT.
Python
- How To Speed Up SQL Queries Using Indexes [Python Edition] - Aug 10, 2023.
Learn to work with SQLite databases using Python’s built-in sqlite3 module. Also learn how to create indexes to speed up queries.
Python
- 5 Python Packages For Geospatial Data Analysis - Aug 8, 2023.
This article discusses the importance of geospatial analysis and introduces five essential Python packages for effectively handling and visualizing valuable insights from geospatial data.
Python
- Mastering Regular Expressions with Python - Aug 1, 2023.
This article dives deep into the world of regular expressions with Python, providing a comprehensive guide for anyone looking to master this complex yet powerful tool, with detailed explanations and code examples.
Python
- Introduction to Statistical Learning, Python Edition: Free Book - Jul 28, 2023.
The highly anticipated Python edition of Introduction to Statistical Learning is here. And you can read it for free! Here’s everything you need to know about the book.
Python
- Stop Hard Coding in a Data Science Project – Use Config Files Instead - Jun 23, 2023.
How to efficiently interact with config files in Python.
Python
- Getting Started with ReactPy - Jun 9, 2023.
A Beginners Guide to Building Web Applications without JavaScript.
Python
- OpenAI’s Whisper API for Transcription and Translation - Jun 2, 2023.
This article will show you how to use OpenAI's Whisper API to transcribe audio into text. It will also show you how to use it in your own projects and how to integrate it into your data science projects.
Python
- 12 VSCode Tips and Tricks for Python Development - May 25, 2023.
Simple tips on doing less and achieving more from VSCode.
Python
- Pandas AI: The Generative AI Python Library
- May 15, 2023.
The road to simpler Data Analysis for data scientists and analysts, powered by OpenAI.
Python
- HuggingChat Python API: Your No-Cost Alternative
- May 3, 2023.
HuggingChat is a free and open source alternative to commercial chat offerings such as ChatGPT. The unofficial Python API gives you immediate access, without signup, for free.
Python
- A Step-by-Step Guide to Web Scraping with Python and Beautiful Soup - Apr 17, 2023.
Learn the basics of Web Scraping and its Python implementation. Also, get to know about the various methods of Beautiful Soup library.
Python
- Free eBook: 10 Practical Python Programming Tricks - Apr 6, 2023.
Check out this free ebook of tip and tricks for getting ahead with your Python programming skills.
Python
- Automate the Boring Stuff with GPT-4 and Python
- Mar 28, 2023.
Speed up your daily workflows by getting AI to write Python code in seconds.
Python
- 3 Ways to Merge Pandas DataFrames - Mar 20, 2023.
Combine Pandas data frames using the merge, join, and concatenate operations.
Python
- Introduction to __getitem__: A Magic Method in Python - Mar 15, 2023.
Magic methods can make our class design more intuitive by giving us access to Python’s built-in syntax features. In this tutorial, we will study the __getitem__ method for custom indexing.
Python
- How to Find Set Difference in Python - Mar 13, 2023.
Learn how to find the set difference between two Python sets using the difference() method and the difference (-) operator.
Python
- What You Should Know About Python Decorators And Metaclasses - Mar 9, 2023.
Learn the basic difference between Decorators and Metaclasses in Python.
Python
- 3 Hard Python Coding Interview Questions For Data Science - Mar 6, 2023.
No mercy today! I have three hard-level Python coding interview questions that require you to be on top of your game in Python and solve business problems.
Python
- Getting Started with Python Generators - Feb 27, 2023.
Learn about Python generators and write memory-efficient and Pythonic code.
Python
- Parallel Processing Large File in Python - Feb 21, 2023.
Learn various techniques to reduce data processing time by using multiprocessing, joblib, and tqdm concurrent.
Python
- Data Cleaning with Python Cheat Sheet - Feb 21, 2023.
An intuitive guide that will help you to prepare and preprocess your dataset before applying the machine learning model.
Python
- How to Update a Python Dictionary - Feb 20, 2023.
Learn how to update a Python dictionary using the built-in dictionary method update(). Update an existing Python dictionary with key-value pairs from another Python dictionary or iterable.
Python
- Learning Python in Four Weeks: A Roadmap - Feb 17, 2023.
Here is a roadmap for learning Python in four weeks, a combination of curated resources and ChatGPT prompts to master the language.
Python
- Python Function Arguments: A Definitive Guide - Feb 9, 2023.
Learn all about positional and keyword arguments, default and variable number of arguments in Python functions.
Python
- Optimizing Python Code Performance: A Deep Dive into Python Profilers - Feb 8, 2023.
In this article, we will take an in-depth look at the profilers in Python to assist in optimizing the performance of our code.
Python
- Learning How to Use ChatGPT to Learn Python (or anything else) - Feb 7, 2023.
Let's learn how ChatGPT can help us learn about Python... or really anything at all.
Python
- Python String Matching Without Complex RegEx Syntax - Feb 1, 2023.
Learn how to use human-friendly programmable regular expressions for complex Python string matching.
Python
- 10 Pandas One Liners for Data Access, Manipulation, and Management - Jan 30, 2023.
These 10 one liners will help you start to access, manipulate, and manage data using Pandas.
Python
- How to Track the Location of an IP Address using Python - Jan 25, 2023.
Learn how to geolocate an IP Address or a Domain Name using the python library named Ip2geotools.
Python
- ChatGPT as a Python Programming Assistant
- Jan 20, 2023.
Is ChatGPT useful for Python programmers, specifically those of us who use Python for data processing, data cleaning, and building machine learning models? Let's give it a try and find out.
Python
- Social User Authentication in Django Framework - Jan 17, 2023.
Learn how to perform social user authentication in the Django web app using third-party services like Google.
Python
- 3 Tools to Track and Visualize the Execution of Your Python Code - Jan 10, 2023.
Avoid headaches when debugging in one line of code.
Python
- How to Perform Unit Testing in Python? - Jan 9, 2023.
Unit testing is an important part of the software development life cycle as it helps to ensure that code is correct and working as intended. This article aims to introduce the concept of unit testing in Python and provide a basic tutorial on how to write and run unit tests using a unittest module.
Python
- Python Lambda Functions, Explained - Jan 6, 2023.
Learn the syntax and uses of the lambda function, which is an alternative to the regular Python function.
Python
- 12 Essential Commands for Streamlit - Jan 2, 2023.
Learn about the most commonly used Streamlit commands and build a customized web application.
Python
- Top 38 Python Libraries for Data Science, Data Visualization & Machine Learning - Dec 29, 2022.
This article compiles the 38 top Python libraries for data science, data visualization & machine learning, as best determined by KDnuggets staff.
Python
- The Zen of Python - Dec 29, 2022.
Python is one of the programming languages that are very versatile and relatively easy to learn. Hence it is the choice of many new programmers, regardless of what area of tech they are interested in. It is particularly popular in all data science branches.
Python
- 5 Tasks To Automate With Python - Dec 27, 2022.
Here are 5 tasks you can automate with Python, and how to do it.
Python
- Python String Methods - Dec 27, 2022.
Learn Python String methods to get better at writing efficient and elegant code.
Python
- Make Amazing Visualizations with Python Graph Gallery - Dec 20, 2022.
Use the hundreds of charts made on Python Graph Gallery to help you make your visualization.
Python
- How to Anonymise Places in Python - Dec 13, 2022.
A ready-to-run code which identifies and anonymises places, based on the GeoNames database.
Python
- Free Intermediate Python Programming Crash Course - Dec 13, 2022.
Master the basics of python with this free crash course.
Python
- Five Ways to do Conditional Filtering in Pandas - Dec 8, 2022.
Learn five ways to perform conditional filtering with Pandas to help slice and dice your data.
Python
- Geocoding in Python: A Complete Guide - Nov 17, 2022.
A step-by-step tutorial on geocoding with Python
Python
- 9 Free Resources to Master Python
- Nov 17, 2022.
Python is the most popular general-purpose language and you can learn it for free.
Python
- 5 Ways of Filtering Python Lists - Nov 14, 2022.
Filter the list elements using for loop, list comprehension, regex, filter(), and lambda functions.
Python
- 7 Python Projects for Beginners - Nov 10, 2022.
Simple and fun Python projects to get experience and build a strong portfolio.
Python
- 3 Useful Python Automation Scripts - Nov 8, 2022.
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.
Python
- How to Make Python Code Run Incredibly Fast - Oct 28, 2022.
In this article, I have explained some tips and tricks to optimize and speed up Python code.
Python
- Easy Guide To Data Preprocessing In Python - Oct 24, 2022.
Preprocessing data for machine learning models is a core general skill for any Data Scientist or Machine Learning Engineer. Follow this guide using Pandas and Scikit-learn to improve your techniques and make sure your data leads to the best possible outcome.
Python
- Sparse Matrix Representation in Python - Oct 14, 2022.
Leveraging sparse matrix representations for your data when appropriate can spare you memory storage. Have a look at the reasons why, see how to create sparse matrices in with Python, and compare the memory requirements for standard and sparse representations of the same data.
Python
- Statistical Functions in Python - Oct 12, 2022.
In this tutorial, we would be covering some useful statistical functions which can be applied to pandas and series objects.
Python
- 3 Simple Ways to Speed Up Your Python Code - Oct 11, 2022.
The post explains three popular frameworks, PySpark, Dask, and Ray, and discusses various factors to select the most appropriate one for your project.
Python
- A Beginner’s Guide to Web Scraping Using Python - Oct 11, 2022.
This article serves as a beginner’s guide to web scraping using Python and looks at the different frameworks and methods you can use, outlined in simple terms.
Python
- 3 Ways to Process CSV Files in Python - Oct 6, 2022.
This article is about 3 ways you can process a CSV file using Python.
Python
- Beginner Friendly Python Projects That Are Fun! - Oct 3, 2022.
Projects like this are not only beginner friendly, but they add a little bit of fun to your studies or career.
Python
- Getting Started with Pandas Cheatsheet - Sep 29, 2022.
The latest KDnuggets cheatsheet aims to get you up to speed with introductory Pandas operations, and provide a handy reference as you work with the library. Check it out if you're interested in a quick start.
Python
- 5 Python Interview Questions & Answers - Sep 26, 2022.
The Python coding questions challenge your problem-solving and programming skills.
Python
- Free Algorithms in Python Course
- Sep 26, 2022.
Algorithms are an often misunderstood concept. Leverage Python to learn what algorithms really are, and how to implement an array of basic computational algorithms in the language.
Python
- Build a Text-to-Speech Converter with Python in 5 Minutes - Sep 21, 2022.
I have chosen to go through how to build a text-to-speech converter in Python, not only is it simple, but it is also fun and interactive. I will show you two ways you can do it with Python.
Python
- Simplifying Decision Tree Interpretability with Python & Scikit-learn - Sep 16, 2022.
This post will look at a few different ways of attempting to simplify decision tree representation and, ultimately, interpretability. All code is in Python, with Scikit-learn being used for the decision tree modeling.
Python
- 7 Steps to Mastering Python for Data Science - Sep 14, 2022.
Here’s how you can learn to code in Python from scratch in 7 easy steps.
Python
- Find a Picture in an Image Without Marking it Up - Sep 13, 2022.
Let's take a closer look at our algorithm so that you can test it with a notebook in Google Colaboratory and even implement it in your project.
Python
- Removing Outliers Using Standard Deviation in Python - Sep 12, 2022.
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.
Python
- All About Collections in Python - Sep 9, 2022.
In this tutorial, we would be exploring different types of containers implemented by the collections module.
Python
- 7 Tips for Python Beginners - Sep 5, 2022.
Learn useful tips to start your career as a Python developer.
Python
- Combining Pandas DataFrames Made Simple - Sep 2, 2022.
For this tutorial, we will work through examples to understand how different mehtods for combining Pandas DataFrames work.
Python
- How to Select Rows and Columns in Pandas Using [ ], .loc, iloc, .at and .iat
- Sep 1, 2022.
Subset selection is one of the most frequently performed tasks while manipulating data. Pandas provides different ways to efficiently select subsets of data from your DataFrame.
Python
- Progress Bars in Python with tqdm for Fun and Profit - Sep 1, 2022.
Add progress bar to the Python functions, Jupyter Notebook, and pandas dataframe.
Python
- 3 Ways to Append Rows to Pandas DataFrames - Aug 29, 2022.
Learn a simple way to append rows in the form of arrays, dictionaries, series, and dataframes to another dataframe.
Python
- Free Python Project Coding Course
- Aug 22, 2022.
Learn Python by doing Python. Check out this free project-based course to quickly learn how to program in the high-demand language.
Python
- Using the apply() Method with Pandas Dataframes - Jul 21, 2022.
Explore ways in which you can use apply () method to do different activities in a DataFrame.
Python
- Using Numpy’s argmax() - Jul 21, 2022.
A simple overview of using an often-misunderstood yet useful function in Python: Numpy's argmax(). Read the what, the how, and the why of argmax() here.
Python
- Free Python Automation Course
- Jul 18, 2022.
Who wants to do boring stuff? Learn to automate the mundane with Python thanks to this free course. Set it and forget it!
Python
- Python String Processing Cheatsheet - Jul 11, 2022.
Try this string processing primer cheatsheet to gain an understanding of using Python to manipulate and process strings at a basic level.
Python
- Free Python Crash Course
- Jul 4, 2022.
Python is the most popular programming language in the world. Master it with this free crash course.
Python
- How to Stay Current in Python - Jun 27, 2022.
Staying current with Python will help maintain your hireability, get new opportunities, and continue to grow your knowledge.
Python
- Python For Machine Learning: eBook Review - Jun 14, 2022.
The guide to writing production-ready Python code for machine learning projects.
Python
- Pydon’ts – Write elegant Python code: Free Book Review - May 23, 2022.
The book consists of 200 actionable Python insights with a detailed explanation of how to write elegant, compelling, and expressive code.
Python
- The 6 Python Machine Learning Tools Every Data Scientist Should Know About
- May 20, 2022.
Let's look at six must-have tools every data scientist should use.
Python
- Why You Need To Learn Python In 2022 - Apr 28, 2022.
If you don’t already know a programming language, or if you’re deciding to choose another language, have a read and see if Python is for you.
Python
- How to Determine the Best Fitting Data Distribution Using Python - Apr 19, 2022.
Approaches to data sampling, modeling, and analysis can vary based on the distribution of your data, and so determining the best fit theoretical distribution can be an essential step in your data exploration process.
Python
- 5 Different Ways to Load Data in Python - Apr 15, 2022.
Data is the bread and butter of a Data Scientist, so knowing many approaches to loading data for analysis is crucial. Here, five Python techniques to bring in your data are reviewed with code examples for you to follow.
Python
- Data Visualization in Python with Seaborn - Apr 13, 2022.
Learn to create beautiful charts in Python using the Seaborn library.
Python
- Python Libraries Data Scientists Should Know in 2022
- Apr 11, 2022.
Let’s have a look at the Python libraries that every data scientist should know in 2022, to maintain and improve their coding journey.
Python
- Data Ingestion with Pandas: A Beginner Tutorial
- Apr 6, 2022.
Learn tricks on importing various data formats using Pandas with a few lines of code. We will be learning to import SQL databases, Excel sheets, HTML tables, CSV, and JSON files with examples.
Python
- Introductory Pandas Tutorial - Mar 31, 2022.
A gentle introduction to data analysis with Pandas.
Python
- Building a Geospatial Application in Python with Google Earth Engine and Greppo - Mar 18, 2022.
In this blog, you will see how to build a web-application with Greppo and Google Earth using Python.
Python
- How to Manage Multiple Inheritance in Python - Mar 16, 2022.
In this guide, we'll learn how to use multiple inheritance in Python and make it sustainable.
Python
- How to Engineer Date Features in Python - Mar 15, 2022.
This article discusses and demonstrates how to quickly engineer some common date features using Python.
Python
- How to Filter Data with Python - Feb 22, 2022.
Let’s dive a little deeper into some simple operations that might make your everyday work a little easier.
Python
- Managing Your Reusable Python Code as a Data Scientist - Feb 11, 2022.
Here are a few approaches that I have settled on for managing my own reusable Python code as a data scientist, presented from most to least general code use, and aimed at beginners.
Python
- Build a Web Scraper with Python in 5 Minutes - Feb 7, 2022.
In this article, I will show you how to create a web scraper from scratch in Python.
Python
- The Best Python Courses: An Analysis Summary - Jan 24, 2022.
What does the data reveal if we ask: "What are the 10 Best Python Courses?". Collecting almost all of the courses from top platforms shows there are plenty to choose from, with over 3000 offerings. This article summarizes my analysis and presents the top three courses.
Python
- How to Process a DataFrame with Millions of Rows in Seconds - Jan 18, 2022.
TLDR; process it with a new Python Data Processing Engine in the Cloud.
Python
- Automate Microsoft Excel and Word Using Python - Jan 6, 2022.
Integrate Excel with Word to generate automated reports seamlessly.
Python
- Why are More Developers Using Python for Their Machine Learning Projects?
- Jan 4, 2022.
To support the creation of new and exciting ML and artificial intelligence (AI) applications, developers need a robust programming language. That's where the Python programming language comes in.
Python
What Makes Python An Ideal Programming Language For Startups - Dec 31, 2021.
In this blog, we will discuss what makes Python so popular, its features, and why you should consider Python as a programming language for your startup.
Programming Languages, Python, Startups
- Hands-On Reinforcement Learning Course, Part 2 - Dec 28, 2021.
Continue your learning journey in Reinforcement Learning with this second of two part tutorial that covers the foundations of the technique with examples and Python code.
Agents, Beginners, Python, Reinforcement Learning
- The Easiest Way to Make Beautiful Interactive Visualizations With Pandas - Dec 28, 2021.
Check out these one-liner interactive visualization with Pandas in Python.
Data Visualization, Interactive, Pandas, Python
- Alternative Feature Selection Methods in Machine Learning - Dec 24, 2021.
Feature selection methodologies go beyond filter, wrapper and embedded methods. In this article, I describe 3 alternative algorithms to select predictive features based on a feature importance score.
Data Preparation, Feature Selection, Machine Learning, Python
- Hands-On Reinforcement Learning Course, Part 1 - Dec 22, 2021.
Start your learning journey in Reinforcement Learning with this first of two part tutorial that covers the foundations of the technique with examples and Python code.
Agents, Beginners, Python, Reinforcement Learning
- KDnuggets™ News 21:n48, Dec 22: Write Clean Python Code Using Pipes; 5 Key Skills Needed To Become a Great Data Scientist - Dec 22, 2021.
Write Clean Python Code Using Pipes; 5 Key Skills Needed To Become a Great Data Scientist; A Full End-to-End Deployment of a Machine Learning Algorithm into a Live Production Environment; The 5 Characteristics of a Successful Data Scientist; Top Resources for Learning Statistics for Data Science
Career Advice, Data Science, Programming, Python
Three R Libraries Every Data Scientist Should Know (Even if You Use Python) - Dec 20, 2021.
Check out these powerful R libraries built by the world’s biggest tech companies.
Data Science, Data Scientist, Python, R
- 10 Key AI & Data Analytics Trends for 2022 and Beyond - Dec 17, 2021.
What AI and data analytics trends are taking the industry by storm this year? This comprehensive review highlights upcoming directions in AI to carefully watch and consider implementing in your personal work or organization.
2022 Predictions, AI, Data, Data Analysis, Deep Learning, Environment, Low-Code, No-Code, Python, Trends
Write Clean Python Code Using Pipes - Dec 15, 2021.
A short and clean approach to processing iterables.
Programming, Python
- Introduction to Clustering in Python with PyCaret - Dec 13, 2021.
A step-by-step, beginner-friendly tutorial for unsupervised clustering tasks in Python using PyCaret.
Clustering, Machine Learning, PyCaret, Python
- Analyzing Scientific Articles with fine-tuned SciBERT NER Model and Neo4j - Dec 9, 2021.
In this article, we will be analyzing a dataset of scientific abstracts using the Neo4j Graph database and a fine-tuned SciBERT model.
BERT, Graph Analytics, Neo4j, NLP, Python, Research
- Introduction to Binary Classification with PyCaret - Dec 7, 2021.
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 it for binary classification.
Classification, Machine Learning, PyCaret, Python
- A Beginner’s Guide to End to End Machine Learning - Dec 6, 2021.
Learn to train, tune, deploy and monitor machine learning models.
Beginners, Machine Learning, MLflow, PyCaret, Python
- Using PyCaret’s New Time Series Module - Dec 3, 2021.
PyCaret’s new time series module is now available in beta. Staying true to the simplicity of PyCaret, it is consistent with the existing API and comes with a lot of functionalities.
Machine Learning, PyCaret, Python, Time Series
- Avoid These Mistakes with Time Series Forecasting - Dec 2, 2021.
A few checks to make before training a Machine Learning model on data that could be random.
Forecasting, Mistakes, Python, Time Series
- PyCaret 2.3.5 Is Here! Learn What’s New - Nov 26, 2021.
Read about the new functionalities added in PyCaret’s recent release.
Open Source, PyCaret, Python
- A Spreadsheet that Generates Python: The Mito JupyterLab Extension - Nov 25, 2021.
You can call Mito into your Jupyter Environment and each edit you make will generate the equivalent Python in the code cell below.
Jupyter, Programming, Python, Spreadsheet
- 5 Advanced Tips on Python Sequences - Nov 23, 2021.
Notes from Fluent Python by Luciano Ramalho.
Programming, Python
- Dask DataFrame is not Pandas - Nov 22, 2021.
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 next article in the series is about parallelizing for loops, and other embarrassingly parallel operations with dask.delayed.
Dask, Pandas, Python, Saturn Cloud
- Build a Serverless News Data Pipeline using ML on AWS Cloud - Nov 18, 2021.
This is the guide on how to build a serverless data pipeline on AWS with a Machine Learning model deployed as a Sagemaker endpoint.
AWS, NLP, Pipeline, Python, Sagemaker, Text Summarization
- Easy Synthetic Data in Python with Faker - Nov 17, 2021.
Faker is a Python library that generates fake data to supplement or take the place of real world data. See how it can be used for data science.
Data Science, Python, Synthetic Data