Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Commit

Permalink
Mulitple Fixes and Feature Additions
Browse files Browse the repository at this point in the history
Fixed bugs with file downloads and added a data modification feature into the app
  • Loading branch information
georgetayqy authored Dec 4, 2021
1 parent 3c8cca1 commit 9169955
Show file tree
Hide file tree
Showing 3 changed files with 413 additions and 183 deletions.
11 changes: 7 additions & 4 deletions pyfiles/pages/document_term_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ def app():
'DataFrame visualising Python packages. There is no definitive way to increase the size of the '
'DataFrame that can be printed out due to the inherent limitation on the size of the packets sent '
'over to and from the Streamlit server.')
SAVE = st.checkbox('Save Outputs?')
SAVE = st.checkbox('Save Outputs?', help='Due to the possibility of files with the same file name and '
'content being downloaded again, a unique file identifier is '
'tacked onto the filename.')
VERBOSE_DTM = st.checkbox('Display DataFrame of Document-Term Matrix?')
if VERBOSE_DTM:
VERBOSITY_DTM = st.slider('Data Points to Display for Document-Term Matrix?',
Expand All @@ -185,9 +187,10 @@ def app():
'This parameter is not the same as that above which controls the number of data points '
'printed out for the raw DTM DataFrame; Select 0 to display all Data Points')
ADVANCED_ANALYSIS = st.checkbox('Display Advanced DataFrame Statistics?',
help='This option will analyse your DataFrame and display advanced statistics '
'on it. Note that this will require some time and processing power to '
'complete. Deselect this option if this functionality is not required.')
help='This option will analyse your DataFrame and display advanced '
'statistics on it. Note that this will require some time and '
'processing power to complete. Deselect this option if this if '
'you do not require it.')

# -------------------------------------------------------------------------------------------------------------------- #
# | DOCUMENT-TERM MATRIX CREATION | #
Expand Down
Loading

0 comments on commit 9169955

Please sign in to comment.