Let's say that I have this dataframe:
,,,,,,
,,2.0,,,,
,2.0,,2.23606797749979,,,
,,2.23606797749979,,,2.0,
,,,,,2.23606797749979,
,,,2.0,2.23606797749979,,
,,,,,,
I would like to get a two dimensional vector with values of the indexes and the columns of each element which is not nan.
For example, in this case, I am expecting:
[[2,1],[1,2],[3,2],[2,3],[5,3],[3,5],[4,5],[5,4]].
I am thinking about using iloc and the np.where functions but I am not able to merge the two concepts.
