Statology

Statology

Statistics Made Easy

Skip to content
Menu
  • About
  • Course
  • Basic Stats
  • Machine Learning
  • Software Tutorials
    • Excel
    • Google Sheets
    • MongoDB
    • Python
    • R
    • SAS
    • SPSS
    • Stata
    • TI-84
  • Tools
    • Calculators
    • Critical Value Tables
    • Glossary

Category: Uncategorized

Uncategorized

How to Compare Three Columns in Pandas (With Example)

Posted on July 3, 2022 by Zach

You can use the following basic syntax to compare the values in three columns in pandas: df[‘all_matching’] = df.apply(lambda x: x.col1 == x.col2 == x.col3,…

Uncategorized

Pandas: How to Apply Function to Every Row in DataFrame

Posted on July 3, 2022 by Zach

You can use the following basic syntax to apply a function to every row in a pandas DataFrame: df[‘new_col’] = df.apply(lambda x: some function, axis=1)…

Uncategorized

How to Count Unique Values in NumPy Array (3 Examples)

Posted on July 3, 2022 by Zach

You can use the following methods to count unique values in a NumPy array: Method 1: Display Unique Values np.unique(my_array) Method 2: Count Number of…

Uncategorized

Pandas: How to Filter by Index Value

Posted on July 3, 2022 by Zach

You can use the following basic syntax to filter the rows of a pandas DataFrame based on index values: df_filtered = df[df.index.isin(some_list)] This will filter…

Uncategorized

How to Plot Only Horizontal Gridlines in Matplotlib

Posted on July 1, 2022 by Zach

You can use the following basic syntax to only plot horizontal gridlines in Matplotlib: ax.grid(axis=’y’) The following example shows how to use this syntax in…

Uncategorized

Pandas: How to Pop Rows from DataFrame

Posted on July 1, 2022 by Zach

You can use the pop() function to quickly remove a column from a pandas DataFrame. In order to use the pop() function to remove rows,…

Uncategorized

Pandas: How to Move Column to Front of DataFrame

Posted on July 1, 2022 by Zach

You can use the following methods to move columns to the front of a pandas DataFrame: Method 1: Move One Column to Front df =…

Uncategorized

How to Compare Three Columns in Excel (With Example)

Posted on July 1, 2022 by Zach

You can use the following basic formula to compare three columns in Excel: =IF(AND(B2=C2,C2=D2),”Equal”,”Not Equal”) This particular formula compares the values in cells B2, C2,…

Uncategorized

Two Sample Z-Test: Definition, Formula, and Example

Posted on July 1, 2022 by Zach

A two sample z-test is used to test whether two population means are equal. This test assumes that the standard deviation of each population is known.…

Uncategorized

One Sample Z-Test: Definition, Formula, and Example

Posted on July 1, 2022July 1, 2022 by Zach

A one sample z-test is used to test whether the mean of a population is less than, greater than, or equal to some specific value. This…

Posts navigation

Page 1 Page 2 … Page 307 Next Page

Search

ABOUT

Statology is a site that makes learning statistics easy by explaining topics in simple and straightforward ways. Learn more about us.

Statology Study

Statology Study is the ultimate online statistics study guide that helps you study and practice all of the core concepts taught in any elementary statistics course and makes your life so much easier as a student.

statology study

Introduction to Statistics Course

Introduction to Statistics is our premier online video course that teaches you all of the topics covered in introductory statistics. Get started with our course today.

introduction to statistics

Recent Posts

  • How to Compare Three Columns in Pandas (With Example)
  • Pandas: How to Apply Function to Every Row in DataFrame
  • How to Count Unique Values in NumPy Array (3 Examples)
© 2021 Statology | Privacy Policy
Wisteria Theme by WPFriendship ⋅ Powered by WordPress