• 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 / NumPy

NumPy

5 Useful Personal Finance Functions from NumPy Financial

February 22, 2020 by cmdlinetips

Personal Finance Functions with Numpy Financial

Until recently, NumPy in Python had simple, but useful financial functions. These NumPy Financial functions are extremely handy for many personal finance questions, like estimating how much interest you have to pay on a loan and how your money grows with a monthly investing plan with a certain interest rate. Recently, the financial functions are […]

Filed Under: NumPy, NumPy Financial Functions Tagged With: NumPy Financial, Python

Image Reconstruction using Singular Value Decomposition (SVD) in Python

January 20, 2020 by cmdlinetips

Scree Plot: Proportion of variance Explained

In this post, we will explore the use of SVD on Image analysis. We will mainly use SVD on images to get main components/singular vectors capturing the image and use part of them to reconstruct the image. Singular Value Decomposition (SVD) is one of the commonly used dimensionality reduction techniques. SVD/PCA is the mainstay of […]

Filed Under: NumPy linalg.svd, Python, SVD in Python Tagged With: Python SVD, Python Tips

How To Discretize/Bin a Variable in Python with NumPy and Pandas?

December 9, 2019 by cmdlinetips

Sometimes you may have a quantitative variable in your data set and you might want to discretize it or bin it or categorize it based on the values of the variable. For example, let us say you have measurements of height and want to discretize it such that it is 0 or 1 depending on […]

Filed Under: NumPy Digitize, Pandas Cut, Pandas DataFrame, Python Bin

9 Basic Linear Algebra Operations with NumPy

June 27, 2019 by cmdlinetips

Linear algebra is one of the most important mathematical topics that is highly useful to do a good data science. Learning the basics of linear algebra adds a valuable tool set to your data science skill. Python’s NumPy has fast efficient functions for all standard linear albegra/matrix operations. Here we will see 9 important and […]

Filed Under: Linear Algebra with NumPy, numpy eye Tagged With: Linear Algebra with NumPy, numpy eye, numpy matrix inverse

3 Basic Commands to Manipulate NumPy 2d-arrays

June 14, 2019 by cmdlinetips

NumPy or Numerical Python is one of the packages in Python for all things computing with numerical values. Learning NumPy makes one’s life much easier to compute with multi-dimensional arrays and matrices. A huge collection of very useful mathematical functions available to operate on these arrays these arrays makes it one of the powerful environment […]

Filed Under: NumPy 2d-array, NumPy ravel, NumPy reshape, NumPy transpose Tagged With: NumPy 2d-array, NumPy ravel, NumPy reshape, NumPy transpose

  • Page 1
  • Page 2
  • Page 3
  • 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