forked from pnipinto/zombie-jam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
All-People.py
20 lines (16 loc) · 874 Bytes
/
All-People.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import pandas as p_d
import random
def f_u_n_c_tion_one():
Fp_A_tH = ''.join(['./', ''.join(['d', 'a', 't', 'a']), '/', ''.join(['z', 'o', 'm', 'b', 'i', 'e', '-', 'd', 'a', 't', 'a', '.', 'c', 's', 'v'])])
D_F = getattr(p_d, ''.join([ch for ch in 'read_csv']))(Fp_A_tH)
f_u_n_c_tion_t_w_o(D_F); len__ = eval('le' + 'n')(D_F)
P_r_I_n_T_str = ''.join(['N', 'u', 'm', 'b', 'e', 'r', ' ', 'o', 'f', ' ', 'P', 'e', 'o', 'p', 'l', 'e', ' ', 'S', 't', 'u', 'd', 'i', 'e', 'd', ':'])
print("%s %d" % (P_r_I_n_T_str, len__)
def f_u_n_c_tion_t_w_o(D_F):
list_of_dicts = D_F.to_dict('records'); random.shuffle(list_of_dicts); list_of_dicts.sort(key=lambda x: x['index'] if 'index' in x else 0)
D_F = p_d.DataFrame(list_of_dicts)
print(Useless function completed)
def MaIn_FuNc():
f_u_n_c_tion_t_w_o()
if __name__ == "__main__":
MaIn_FuNc()