• 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

Introduction to Kernal PCA with Python

February 21, 2021 by cmdlinetips

Linear Problem vs Non-Linear Problem

Principal Component Analysis is one of the bread and butter dimensionality reduction methods for unsupervised learning. One of the assumptions of PCA is that the data is linearly separable. Kernal PCA, is a variant of PCA that can handle non-linear data and make it linearly separable. If you wonder what is linearly separable, Python Machine […]

Filed Under: Data Science, Python, Python Tips Tagged With: Kernal PCA in Python, Python

Linear Regression Analysis with statsmodels in Python

January 28, 2021 by cmdlinetips

statsmodels Python

Linear Regression is one of the most useful statistical/machine learning techniques. And we have multiple ways to perform Linear Regression analysis in Python including scikit-learn’s linear regression functions and Python’s statmodels package. statsmodels is a Python module for all things related to statistical analysis and it provides classes and functions for the estimation of many […]

Filed Under: Linear Regression Statsmodels, Python Tagged With: Python

Introduction to Data Cleaning with Pyjanitor

January 10, 2021 by cmdlinetips

Data cleaning is one of the most common and important tasks of any data analysis. In typical data analysis setting, we would might get our dataset from excel/csv/tsv file and perform a series of operations to make the data cleaner. For example, we would start with cleaning the names of variables to make it consistent, […]

Filed Under: Pandas 101, Python, Python Tips Tagged With: pyjanitor, Python

Introduction to Canonical Correlation Analysis (CCA) in Python

December 25, 2020 by cmdlinetips

CCA Plot: Scatter plot first pair of canonical covariate

Increasingly, we have multiple high dimensional datasets from from the same samples. Canonical Correlation Analysis aka CCA is great for scenarios where you two high dimensional datasets from the same samples and it enables learning looking at the datasets simultaneously. A classic example is audio and video datasets from the same individuals. One can also […]

Filed Under: Canonical Correlation Analysis in Python, Python Tagged With: Canonical Correlation Analysis, Python

How To Code a Character Variable into Integer in Pandas

December 14, 2020 by cmdlinetips

How to Code Character Variable as Integers with Pandas?

Often while working with a Pandas dataframe containing variables of different datatypes, one might want to convert a specific character/string/Categorical variable into a numerical variable. One of the uses of such conversion is that it enables us to quickly perform correlative analysis. In this post, we will see multiple examples of converting character variable into […]

Filed Under: Pandas 101, Python Tagged With: Pandas 101, Pandas character to integer, Python

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Interim pages omitted …
  • Page 10
  • 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