xI have two fields I'm comparing. Both of them are nominals, with only ones and zeros. Men and women, and default and no default (plus lots more data in a similar format). If you put it into a scatter plot you only get four dots because of course all those scenarios happen, but the question is how many times does it happen in each case. It would be amazing if I could see it by flipping it on its side and see the frequency of how many times each dot hits one of those four points.
for example:
x = [1,0,0,0,...1,1,0,1]
y = [0,1,1,0,...1,0,1,0]
I have the code:
def scatterPlot3dFields():
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.scatter(x, y, ???)
plt.show()
But I have no idea what to put in the z axis to make this happen. Any help would be amazing.