How to calculate the common volume/intersection between 2, 2D kde plots in python?
问题 I have 2 sets of datapoints: import random import pandas as pd A = pd.DataFrame({'x':[random.uniform(0, 1) for i in range(0,100)], 'y':[random.uniform(0, 1) for i in range(0,100)]}) B = pd.DataFrame({'x':[random.uniform(0, 1) for i in range(0,100)], 'y':[random.uniform(0, 1) for i in range(0,100)]}) For each one of these dataset I can produce the jointplot like this: import seaborn as sns sns.jointplot(x=A["x"], y=A["y"], kind='kde') sns.jointplot(x=B["x"], y=B["y"], kind='kde') Is there a