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 […]
Python
How To Make Lower Triangle Heatmap with Correlation Matrix in Python?
Visualizing data as a heatmap is a great data exploration technique for high dimensional data. Sometimes you would like to visualize the correlation as heatmap instead of the raw data to understand the relationship between the variables in your data. In this post we will see examples of visualizing correlation matrix as a heatmap in […]
Pandas 1.0.0 is Here: Top New Features of Pandas You Should Know
Pandas 1.0.0 is ready for prime time now. Pandas project has come a long way since the early release of Pandas version 0.4 in 2011. It had contributions from 2 developers including Wes Kinney then, now Pandas has over 300 contributors. The latest version of Pandas can be installed from standard package managers like Anaconda, […]
Heatmaps with Seaborn’s ClusterMap
Just recently stumbled on to Seaborn’s ClusterMap function for making heatmaps. Till now relied on Seaborn’s heatmap function for making simple heatmaps with Seaborn heatmap() function and using pheatmap package in R for anything bit complex. Seaborn’s Clustermap function is great for making simple heatmaps and hierarchically-clustered heatmaps with dendrograms on both rows and/or columns. […]
Image Reconstruction using Singular Value Decomposition (SVD) in Python
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 […]