Data Science Articles

Sorted By: Most Recent
Parul Pandey Parul Pandey
Updated on May 22, 2025

Sorting Data Frames in Pandas: A Hands-On Guide

Pandas DataFrames can be sorted by column, index, multiple columns and more. This tutorial introduces you to the basics.

Image: Shutterstock / Built In
Peter Grant Peter Grant
Updated on May 22, 2025

How to Use Float in Python (With Sample Code!)

In Python, floats are a common data type that lets users work with decimal numbers, covering a wider range of values than integers. Check out this quick tutorial on how to make and use floats in Python.

Image: Shutterstock / Built In
Zolzaya Luvsandorj Zolzaya Luvsandorj
Updated on May 22, 2025

A Beginner’s Guide to Propensity Score Matching

Propensity score matching is a causal inference technique that attempts to balance treatment groups on confounding factors, so researchers can gauge the treatment’s causal impact on the outcome. Here are the steps to conduct propensity score matching.

Image: Shutterstock / Built In
Andrew Plummer Andrew Plummer
Updated on May 22, 2025

Box-Cox Transformation and Target Variable: Explained

Box-Cox transformation is a statistical technique that transforms your target variable so that it resembles a normal distribution. Here’s how to implement it in Python.

Image: Shutterstock / Built In
Perez Ogayo Perez Ogayo
Updated on May 22, 2025

How to Fix a CUDA Error: Device-Side Assert Triggered in PyTorch

A CUDA Error: Device-Side Assert Triggered can either be caused by an inconsistency between the number of labels and output units in a model or an incorrect input for a loss function. Follow this guide to fix it. 

Image: Shutterstock / Built In
Alexandre Zajic Alexandre Zajic
Updated on May 22, 2025

What Is Akaike Information Criterion (AIC)?

Akaike Information Criterion (AIC) is a metric with a single number score that measures which machine learning model is best for a given data set, in comparison to other models for the same set. Here’s what you need to know.

Image: Shutterstock / Built In
Richmond Alake Richmond Alake
Updated on May 22, 2025

Understanding Cosine Similarity and Its Applications

Cosine similarity measures the similarity between two non-zero vectors by calculating the cosine of the angle between them. Here's the basics behind cosine similarity and how it is used across different areas of machine learning.

Image: Shutterstock / Built In
Frank Andrade Frank Andrade
Updated on May 22, 2025

Guide to String Formatting in Python Using F-Strings

Take string formatting to the next level in Python using f-strings. They provide a better way to format strings and make debugging easier, too.

Image: Shutterstock / Built In
Tirthajyoti Sarkar Tirthajyoti Sarkar
Updated on May 22, 2025

What Is Benford’s Law and Why Is It Important?

Benford’s Law states that digits with smaller values are more likely to be the lead digit in a data set than digits with larger values. Here’s when to use the law, when not to use it and why it matters.

Image: Shutterstock / Built In
Abdishakur Hassan Abdishakur Hassan
Updated on May 22, 2025

What Is Statistical Analysis?

Statistical analysis is the process of collecting and analyzing data using statistical methods to uncover trends, develop meaningful data insights and tell quantitative stories.

Image: Shutterstock / Built In

Related Topics