Skip to content

Instantly share code, notes, and snippets.

@cmazzaanthony
cmazzaanthony / discrete_random_variable.py
Last active February 17, 2021 01:26
Discrete random variable
from itertools import product
import seaborn as sns
import pandas as pd
import matplotlib.pyplot as plt
stones = ['Space', 'Reality', 'Mind', 'Time', 'Power', 'Soul']
# assign scores to each stone
stones_scores = dict(zip(stones, range(1, 7)))