• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar

Python and R Tips

Learn Data Science with Python and R

  • Home
  • Python
  • Pandas
    • Pandas 101
  • tidyverse
    • tidyverse 101
  • R
  • Linux
  • Conferences
  • Python Books
  • About
    • Privacy Policy
You are here: Home / Archives for Python

Python

How To Compute Z-scores in Python

December 7, 2020 by cmdlinetips

Standardizing A Variable in Python

Computing standardized values of one or more columns is an important step for many machine learning analysis. For example, if we are using dimentionality reduction techniques like Principal Component Analysis (PCA), we will typically standardize all the variables. To standardize a variable we subtract each value of the variable by mean of the variable and […]

Filed Under: Machine Learning, Pandas 101, Python, Standardized Score, Z-score Python Tagged With: Pandas 101, Python

Seaborn Version 0.11.0 is here with displot, histplot and ecdfplot

September 15, 2020 by cmdlinetips

Seaborn Version 0.11.0 is Here

Seaborn, one of the data visualization libraries in Python has a new version, Seaborn version 0.11, with a lot of new updates. One of the biggest changes is that Seaborn now has a beautiful logo. Jokes apart, the new version has a lot of new things to make data visualization better. This is a quick […]

Filed Under: Python, Seaborn, Seaborn 0.11, Seaborn displot, Seaborn histplot Tagged With: Python, Seaborn

How To Compare Two Dataframes with Pandas compare?

August 2, 2020 by cmdlinetips

In this post, we will learn how to compare two Pandas dataframes and summarize their differences using Pandas compare() function. Sometimes you may have two similar dataframes and would like to know exactly what those differences are between the two data frames. Starting from Pandas 1.1.0 version, Pandas has a new function compare() that lets […]

Filed Under: Pandas 101, Pandas compare, Python Tips Tagged With: compare two dataframes pandas, pandas compare() function

Pandas Groupby and Sum

July 12, 2020 by cmdlinetips

A common step in data analysis is to group the data by a variable and compute some summary statistics each subgroup of data. For example, one might be interested in mean, median values, or total sum per group. In this post, we will see an example of how to use groupby() function in Pandas to […]

Filed Under: Pandas 101, Pandas Groupby and Sum Tagged With: Pandas, Python

Principal Component Analysis with Penguins Data in Python

June 25, 2020 by cmdlinetips

PCA Plot with Penguin Scaled Data

Who does not love PCA with Penguins in Python. Sorry, could not resist saying this :). If you are tired of seeing Iris data for introducing all things Machine Learning, Data Science algorithms and Data Visualization examples, you are in for much needed treat in the form of Penguins. Thanks to Alison Horst, who has […]

Filed Under: PCA example in Python, PCA in Python, Principal Component Analysis, Python, Scikit-learn Tagged With: PCA, Penguins Data, Python

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 9
  • Page 10
  • Page 11
  • Page 12
  • Page 13
  • Interim pages omitted …
  • Page 35
  • Go to Next Page »

Primary Sidebar

Subscribe to Python and R Tips and Learn Data Science

Learn Pandas in Python and Tidyverse in R

Tags

Altair Basic NumPy Book Review Data Science Data Science Books Data Science Resources Data Science Roundup Data Visualization Dimensionality Reduction Dropbox Dropbox Free Space Dropbox Tips Emacs Emacs Tips ggplot2 Linux Commands Linux Tips Mac Os X Tips Maximum Likelihood Estimation in R MLE in R NumPy Pandas Pandas 101 Pandas Dataframe Pandas Data Frame pandas groupby() Pandas select columns Pandas select_dtypes Python Python 3 Python Boxplot Python Tips R rstats R Tips Seaborn Seaborn Boxplot Seaborn Catplot Shell Scripting Sparse Matrix in Python tidy evaluation tidyverse tidyverse 101 Vim Vim Tips

RSS RSS

  • How to convert row names to a column in Pandas
  • How to resize an image with PyTorch
  • Fashion-MNIST data from PyTorch
  • Pandas case_when() with multiple examples
  • An Introduction to Statistical Learning: with Applications in Python Is Here
  • 10 Tips to customize ggplot2 title text
  • 8 Plot types with Matplotlib in Python
  • PCA on S&P 500 Stock Return Data
  • Linear Regression with Matrix Decomposition Methods
  • Numpy’s random choice() function

Copyright © 2025 · Lifestyle Pro on Genesis Framework · WordPress · Log in

Go to mobile version