From b901c4bc067365b4a450e852ae6bf01566b69863 Mon Sep 17 00:00:00 2001 From: SG115 Date: Sat, 21 May 2022 02:58:57 +0530 Subject: [PATCH] Final --- __pycache__/helper.cpython-310.pyc | Bin 12317 -> 12241 bytes __pycache__/preprocessor.cpython-310.pyc | Bin 2499 -> 2601 bytes __pycache__/report.cpython-310.pyc | Bin 2224 -> 2271 bytes helper.py | 2 +- preprocessor.py | 5 ++--- 5 files changed, 3 insertions(+), 4 deletions(-) diff --git a/__pycache__/helper.cpython-310.pyc b/__pycache__/helper.cpython-310.pyc index f93a4b76750c73bcb57dab654ff503ae2a40b068..e4c2515a96f5fe217298bb18ace3264547c6bde6 100644 GIT binary patch delta 1703 zcmZ{kYiJx*6vuNn$uuVW$fHTKn@qBsX1m$E6>Kp`HO-?*+BB<4jE`-$lbsuOlG&Z@ zok{9$x2`Sr5onC$R%pP`Rwx*Ytzi{K@IzZ|El8;#{V)(Hei2a={2)R>yk{oeB!Ua` z+jGx3_ug~Q|IREQ`5|OeY_`H2_Pe<4+{E~*?SdunT31JKRK-LMsu5{A5*&)*ZX(U% zU^iB$H6%6bS@D0E?gKm#1swRXrcIc2OBuEen*Mn<^4nE z=oJ@lsWa-Ky6b1}f@ZmF6Dw2biUs9pmMMFxP_&88c{bWq<8M_w*9!|KsG~Z=3cX!D z#|j z55PER8myCmQw(}RR3Ou#34xGzz;_yOhQUhCg1H-Tj+WHawnJZZD|90?F{37)^g_4E zSlICCXp&UIq<86&n)7CJmgt`~AEiNCor}+qxQxjFq#OhcGWZM4DvjMJct-%E40TfWM^B!)z232e$c$U3**w{K*IHnNM-38*USaePy5{_vk zotgKZMMaw~1g-VCIP(I~7ko{eA$}Eo+b4|tNAeA!^CDOf$ptv=R;4!!4Q;S*YHA0h zU!)xk0R(z(rlgU)nY}LRi7Hc)*=+I!bL;trhkOkwo0`pr$#OHfm*Ar_I2KO0*%y&$8}DFp z*FG#O$J~Y`G#A!jUMXn8tU!|^$ZRT^pkqn?k3>rYN$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|(y)y5r$cPJ6b zs$qHCQpbv^`##4#{-9t5*Md*f+@P@!w*78yTRRaSJ&4F*U8wTlE#AFL|B9OIg-3={ z=i-{~@ChGQ^3@Uelw5Y{j&mWGaf}ADxDu*%s1g@T6unDhCvJq?_Rq;}mGA}OOTt%Z zt#-7nk@+>@8-iMl8M3GZ@Gap#E3oqnw%*xD^*%26>(#Gm|510)SF_AI@OI5prVXAc z5QZPHKI~;{*d6wsyi$ZOpO=@50SI2OcO;z?-pD7<7!dDl6%$&VT2vfUoROKG5#yhi>QayUl8M*kyxVZn3tGS2~?%)1C-LuP0Y;0CBE5@k&lJ(+2mN(E%jUrxKlV%*cUP} zGL*1q@zijpa7r?yaHVkfGJ)7O3=okl-Yh;KiwB9%59ISA@dbcV)(D1hQX!8tf=avOU(qxj@^?Cv5= z#U;1+Q=kgslS)fU^7AH}a4cu^nS6&snbB(!r#cG{qZsRCO-^OT(8<1>O43Enz^E_c T1QC27LK;M9fr!w_ot#zxkxh(= delta 444 zcmZ1}a#)xzpO=@50Sp?G{6seL$ulY%I9tVp7N-^!#{_3&W@jW8#kiyvXP4v`#Du3N zDL57sY_4VGV`02CxrcR2J$n{c4QC36Btr^k3Rf=^h;73F5y|4t;sLU_k@&noJ`WO~ z56I_5@E7ne1nK2Nh-3)>`TPj}0zt3}0hmZV&=Mh_5%kS`463)wKFGt_beSpq47 z=}bW92}&}!FvObI^3?F82xl`D9j@VCz+56y!_&-|A|lREB9bE7%qY&Vkdcw0a6M2B z6Hv`{h#HU#L=8}!S)2h$oi3Uo7z#j65Cb_bm_bu~ayh%#NV#z48 n*^y-u6JyloD{LH$jCPanvgI6P%Hmosn1+Gn4p&l(buu%~&iM """,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') diff --git a/preprocessor.py b/preprocessor.py index fc28060..cf93c03 100644 --- a/preprocessor.py +++ b/preprocessor.py @@ -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.