Spaces:
Sleeping
Sleeping
renewed table
Browse files
utils/__pycache__/visualize.cpython-310.pyc
CHANGED
Binary files a/utils/__pycache__/visualize.cpython-310.pyc and b/utils/__pycache__/visualize.cpython-310.pyc differ
|
|
utils/visualize.py
CHANGED
@@ -159,7 +159,7 @@ def visualize_spans(
|
|
159 |
div_data = pd.DataFrame.from_dict(div, orient='index')
|
160 |
# st.dataframe(div_data)
|
161 |
|
162 |
-
doc_data = pd.concat([div_data, counts
|
163 |
filename = "NA"
|
164 |
doc_data.insert(0, "filename", filename, True)
|
165 |
doc_data.insert(1, "nwords", len(doc), True)
|
|
|
159 |
div_data = pd.DataFrame.from_dict(div, orient='index')
|
160 |
# st.dataframe(div_data)
|
161 |
|
162 |
+
doc_data = pd.concat([div_data, counts], axis = 0).T
|
163 |
filename = "NA"
|
164 |
doc_data.insert(0, "filename", filename, True)
|
165 |
doc_data.insert(1, "nwords", len(doc), True)
|