Python for Data Science Articles

Sorted By: Most Recent
Shangjie Lyu Shangjie Lyu
Updated on October 05, 2023

Python Auto Formatter: Autopep8 vs. Black

Autopep8 and Black are both great tools to auto-format your Python code to conform to the PEP 8 style guide. Learn the key differences between the two.

Image: Shutterstock / Built In
Satyam Tripathi Satyam Tripathi
Updated on October 02, 2023

Guide to Python Socket Programming

Socket programming is a means of communication between nodes over a network. Learn how to develop client and server sockets in Python.

Image: Shutterstock / Built In
Sadrach Pierre Sadrach Pierre
Updated on September 25, 2023

How to Use Python in Excel

Now that Excel enables Python logic within its interface, a wide variety of professionals can draw on the power of Python tools to supplement their day-to-day analytics workflows.

Image: Shutterstock / Built In
Satyam Tripathi Satyam Tripathi
Updated on September 19, 2023

How to Fix KeyError Exceptions in Python

KeyError in Python an exception that occurs when you try to access a key that does not exist in a dictionary.

Image: Shutterstock / Built In
Sadrach Pierre Sadrach Pierre
Updated on August 28, 2023

A Guide to Pareto Analysis With Pareto Charts

Pareto analysis, which strives to separate a vital few factors in a problem from an insignificant many, has a wide variety of applications across industries. Our expert shows you how it works.

Image: Shutterstock / Built In
Daniella Meneses Daniella Meneses
Updated on August 24, 2023

Top 50 Python Interview Questions With Example Answers

Python is one of the most popular computer languages, and developers with skills in it remain in high demand. Here are some of the most common questions you can expect in your next interview.

Image: Shutterstock / Built In
Sadrach Pierre Sadrach Pierre
Updated on August 17, 2023

A Guide to Python Virtual Environments

Python virtual environments help manage software dependencies and ensure code is reproducible. Our expert explains how they work and shows you how to get started with them.

Image: Shutterstock / Built In
Ebo Jackson Ebo Jackson
Updated on August 04, 2023

Pytest vs. Unittest: A Comparison and Guide

Pytest and Unittest are two testing frameworks in Python. Learn the features of each, the differences between them and how to test with each framework. 

Image: Shuterstock / Built In
Hrishav Tandukar Hrishav Tandukar
Updated on July 31, 2023

What Is WSGI (Web Server Gateway Interface)?

WSGI is a mediator that communicates between web servers and Python web applications. It plays a vital role when you deploy your Django or Flask application.

Image: Shutterstock / Built In
Sohail Hosseini Sohail Hosseini
Updated on July 25, 2023

How to Do a T-Test in Python

A t-test is a statistical method that’s used to determine whether there is a significant difference between the means of two groups. Here’s how to do it in Python.

Image: Shutterstock / Built In