I have an Excel table (200x780). The lines are options available on an aircraft, and the columns are serial numbers. The content is either 1
or 0
, depending on if the aircraft has or not the option.
Matrix:
I want a table with the options as line and column, containing the probability of having two options together. Something like this, matrix probability:
I used pandas.read_excel
to read the file, and thought about multiplying each line with the others, but this will take a lot of time. Is there a panda module I didn't find that can do this easier?