Skip to content

Commit

Permalink
Final
Browse files Browse the repository at this point in the history
  • Loading branch information
shikhar-codes committed May 20, 2022
1 parent 3651973 commit b901c4b
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
Binary file modified __pycache__/helper.cpython-310.pyc
Binary file not shown.
Binary file modified __pycache__/preprocessor.cpython-310.pyc
Binary file not shown.
Binary file modified __pycache__/report.cpython-310.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def monthly_timeline(df,selected_user):
</div>
""",unsafe_allow_html=True)

st.write(timeline)
# st.write(timeline)
st.write(f"Monthly Timeline of {selected_user}")
fig,ax = plt.subplots()
ax.plot(timeline['Time'], timeline['Message'],color='green')
Expand Down
5 changes: 2 additions & 3 deletions preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@ def preprocess(data):
### To download the created Dataframe
temp_df = df
temp_df.to_csv('Download.csv')
# st.download_button('Download CSV','Download.csv') # Defaults to 'text/plain'
# with open("Download.csv",encoding="utf8") as f:
# st.download_button('Download Chat CSV', f) # Defaults to 'text/plain'
st.download_button('Download Chat CSV','Download.csv') # Defaults to 'text/plain'


# check_dataframe(df)
## changing datatype of "Date" column.
Expand Down

0 comments on commit b901c4b

Please sign in to comment.