data-generation

Generating and plotting stock or crypto data with Matplotlib

We generate high, low, open, close and volume data using a simple method for a fictitious stock or crypto, plot it on a candlestick chart and use a custom font from disk to render the plot.

Comparing string and md5 hash dissimilarity using hashlib and jellyfish

Demonstrating that similarity of pairs of strings is uncorrelated to Jaro and Damerau-Levenshtein similarity of their md5 hashes.

Truncated (by number of standard deviations) normal distribution in Python

A quick way to generate "normally" distributed data but exclude extreme values.