abdullahmeda commited on
Commit
31e2d78
·
1 Parent(s): 1a6516d
Files changed (1) hide show
  1. cw2.py +2 -0
cw2.py CHANGED
@@ -108,6 +108,8 @@ def also_like(data, doc_uuid, visitor_uuid, ascending, req_5=True):
108
  if doc != doc_uuid and doc not in get_visitor_docs(data, visitor_uuid).tolist():
109
  y.append([reader, doc])
110
  if not req_5:
 
 
111
  return pd.DataFrame(y)
112
  try:
113
  if ascending:
 
108
  if doc != doc_uuid and doc not in get_visitor_docs(data, visitor_uuid).tolist():
109
  y.append([reader, doc])
110
  if not req_5:
111
+ for reader in visitor_uuids:
112
+ y.append([reader, doc_uuid])
113
  return pd.DataFrame(y)
114
  try:
115
  if ascending: