Two-dimensional histogramsTwo-dimensional histograms help to visualize two-dimensional points by dividing them among two-dimensional bins. hist2d:2024-04-10 Data Visualizationnumpy matplotlib Error bars for data analysisError bars can be used to represent the variability of data and indicate the error or uncertanty in a reported measureme2024-04-04 Data Visualizationnumpy matplotlib 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 Building a quantitative value investing strategyQuantitative Value StrategyQuantitative value intestment means invest in the stocks that are “cheapest” relative to comm2024-02-28 Quantitative Investmentyfinance xlsxwriter Building a quantitative momentum investing strategyQuantitative Momentum StrategyQuantitative Momentum is an investment strategy which selects for investment the stocks wh2024-02-26 Quantitative Investmentyfinance xlsxwriter Building an equal-weight S&P 600 index fundLoad the list of S&P 600 companies from WikepediaThe S&P 600 is an index of small-cap company stocks created by2024-02-25 Quantitative Investmentyfinance xlsxwriter