Other answers explain how to make std dev in python enough, but no one explains how to do the fancy workaround you described.
I'm going to assume that AZ is the whole population. If you do not see Ome , answer the question of how to draw a conclusion from the sample.
So, to get the standard deviation / average of the first digit of each list, you need something like the following:
#standard deviation numpy.std([A_rank[0], B_rank[0], C_rank[0], ..., Z_rank[0]]) #mean numpy.mean([A_rank[0], B_rank[0], C_rank[0], ..., Z_rank[0]])
To shorten the code and generalize it to any nth digit, use the following function that I generated for you:
def getAllNthRanks(n): return [A_rank[n], B_rank[n], C_rank[n], D_rank[n], E_rank[n], F_rank[n], G_rank[n], H_rank[n], I_rank[n], J_rank[n], K_rank[n], L_rank[n], M_rank[n], N_rank[n], O_rank[n], P_rank[n], Q_rank[n], R_rank[n], S_rank[n], T_rank[n], U_rank[n], V_rank[n], W_rank[n], X_rank[n], Y_rank[n], Z_rank[n]]
Now you can just get stdd and the value of all n-th places from AZ as follows:
#standard deviation numpy.std(getAllNthRanks(n)) #mean numpy.mean(getAllNthRanks(n))