On 2020-02-16 00:50, Markos wrote:
Hi all,
I created the following data frame (updated_distance_matrix)
P1 P2 P4 P5 (P3, P6)
P1 0,00 0,244307 0,367696 0,341760 0
P2 0.234307 0.00 0.194165 0.1443178 0
P4 0.366969 0.194165 0.00 0.28425
Hi all,
I created the following data frame (updated_distance_matrix)
P1 P2 P4 P5 (P3, P6)
P1 0,00 0,244307 0,367696 0,341760 0
P2 0.234307 0.00 0.194165 0.1443178 0
P4 0.366969 0.194165 0.00 0.284253 0
P5 0.341760 0.1443178 0.284253 0.0
Stefan Ram wrote:
> The other thing I read in a book. I already knew that one
> can zip using ... »zip«. E.g.,
>
> x =( 'y', 'n', 'a', 'n', 't' )
> y =( 4, 2, 7, 3,1 )
> z = zip( x, y )
> print( list( z ))
> [('y', 4), ('n', 2), ('a', 7), ('n', 3), ('t', 1)]
>
> But the book told me t