Spaces:
Sleeping
Sleeping
Commit
·
0948ba1
1
Parent(s):
fe845ab
cw2.py
CHANGED
@@ -126,7 +126,7 @@ def also_like_graph(data, doc_uuid, visitor_uuid, ascending):
|
|
126 |
top_docs = also_like(data, doc_uuid, visitor_uuid, ascending, req_5=False)
|
127 |
y = top_docs[1].value_counts()
|
128 |
y = pd.DataFrame(y)
|
129 |
-
y.loc[len(y.index)] = [visitor_uuid, doc_uuid]
|
130 |
print(y)
|
131 |
dot = graphviz.Digraph()
|
132 |
for index, row in top_docs.iterrows():
|
|
|
126 |
top_docs = also_like(data, doc_uuid, visitor_uuid, ascending, req_5=False)
|
127 |
y = top_docs[1].value_counts()
|
128 |
y = pd.DataFrame(y)
|
129 |
+
# y.loc[len(y.index)] = [visitor_uuid, doc_uuid]
|
130 |
print(y)
|
131 |
dot = graphviz.Digraph()
|
132 |
for index, row in top_docs.iterrows():
|