Customizing plot legendsLegend gives a lot of meaning to a visualization, offers explanation for the various plot elements. %matplotlib inline i2024-03-26 Data Visualizationnumpy matplotlib
Geospatial interpolation - K-nearest neighborsK-Nearest Neighbors (short as KNN) is a neighbor-based learning method that can be used for interpolation, in this case2024-03-22 Machine Learningsklearn geopandas shapely geopy
Geospatial interpolation - Thiessen PolygonsThiessen polygon, also called Voronoi diagram, is a partition of a plane into regions close to each of a given set of ob2024-03-16 Machine Learninggeopandas contextily pyproj shapely
GeoDataFrame datasets from geopandasGeoPandas offers several datasets in GeoDataFrame format, which could be good examples for working with spatial vector d2024-03-12 Data Analysisgeopandas
Nearest neighbor in geospatial data analysisOne of the common GIS task is to find the nearest neighbor by given several candidates, in real life a typical question2024-03-10 Data Analysisgeopandas shapely
Risk-adjusted performance metrics calculation in PythonSharpe RatioIt is virtually impossible to increase return without also increasing risk, therefore it shall exist a trade2024-03-06 Quantitative Investmentnumpy pandas yfinance matplotlib
Calculate Capital Asset Pricing Model (CAPM) with PythonCapital Asset Pricing Model (CAPM)CAPM is one of the most commonly used formula in finance, which describes the relation2024-03-01 Quantitative Investmentyfinance plotly