Skip to content

Commit

Permalink
Update sample_user.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sophieball authored Feb 16, 2019
1 parent eef58a5 commit 7379a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
sample_size = len(female)
sampled_male = random.sample(male, sample_size)
f = open("new_100000/data/sampled_user_gender.csv", "w")
fid = open("new_100000/data/uid_new.list", "w")
fid = open("new_100000/data/uid.list", "w")
for fe in female:
f.write(",".join(fe) + "\n")
fid.write(fe[0] + "\n")
Expand Down

0 comments on commit 7379a0b

Please sign in to comment.