Turn An Excel Sheet Into An Interactive Dashboard Using Python (Streamlit)

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 824

  • @CodingIsFun
    @CodingIsFun  3 роки тому +3

    👉Website Demo: www.salesdashboard.pythonandvba.com/
    👉Streamlit Playlist: ua-cam.com/play/PL7QI8ORyVSCaejt2LICRQtOTwmPiwKO2n.html
    👉Deploy your streamlit app for free on Heroku: ua-cam.com/video/nJHrSvYxzjE/v-deo.html
    👉Deploy your streamlit app for free on Render: ua-cam.com/video/4SO3CUWPYf0/v-deo.html
    👉Get my Excel add-in to combine Python + Excel: pythonandvba.com/mytoolbelt
    💬I will be here in the comments section. For any issues, please provide your exact error message, and I will try to help.
    *That said, probably the easiest way to create a dashboard from Excel data is to use my Excel dashboard add-in Check it out here:* pythonandvba.com/grafly

    • @olayinkaaliu9177
      @olayinkaaliu9177 3 роки тому

      I am using jupyter notebook, I notice I can not practice this with my Jupyter notebook, which other IDE in anaconda can I use for this project

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      Thank for watching the video & your question. You could use 'Spyder', which comes already with the Anaconda distribution:
      docs.anaconda.com/anaconda/user-guide/tasks/integration/spyder/

    • @olayinkaaliu9177
      @olayinkaaliu9177 3 роки тому +1

      @@CodingIsFun Thank you for taking time to reply my message I feel very confident now

  • @techtbe
    @techtbe 2 роки тому +6

    Hi, Spent 2 days to cover all the things you did in 16 mins. Great explanation, thank you so much. Subscribed.

    • @CodingIsFun
      @CodingIsFun  2 роки тому +1

      Thanks for your sub & welcome aboard!

  • @Ravichawla68
    @Ravichawla68 3 роки тому +65

    Probably THE BEST tutorial on streamlit! Great info, very precise and easy to follow. Thanks a lot man.

    • @CodingIsFun
      @CodingIsFun  3 роки тому +3

      Thank you so much! Glad you liked the video :)

    • @luisacuna1729
      @luisacuna1729 2 роки тому +1

      I agree

    • @miracapur
      @miracapur 9 місяців тому

      Exactly my thought!

  • @athump947
    @athump947 2 роки тому +1

    people like you are the reason why humans have reached this far. Thank you sooooo much. i wish you good health and good luck my frind

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      It's very kind of you to say so; thank you!

  • @jonathanacuna
    @jonathanacuna 2 роки тому +69

    This is such a great project! So relevant for automating reporting for small business

    • @CodingIsFun
      @CodingIsFun  2 роки тому +2

      Thanks for the kind words! I am glad you enjoyed it.

    • @ghost4660
      @ghost4660 Рік тому +2

      If I created one for the company I work for, it’s a valet company bringing in a good amount of money. How much do you think I could sell it for?

  • @fahminsk
    @fahminsk Рік тому +1

    Wow... This is the first video I watched and I immediately fell in love and then subscribed to this channel. I'll take a look and learn from this channel. Greetings from Indonesia

    • @CodingIsFun
      @CodingIsFun  Рік тому +1

      Happy to hear that you liked the video. Thanks for the sub and welcome aboard! Greetings from Germany to Indonesia! ☀🏖✌

  • @RicardoPorteladaSilva
    @RicardoPorteladaSilva Рік тому +2

    Your tutorials are simply fantastic, from the content to the video editing, congratulations!

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Your comment is a boost! Thanks for the energy! 💖👍

  • @futuregootecks
    @futuregootecks 2 роки тому +2

    Brilliant! Just found out about streamlit yesterday, thanks for this!

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      A pleasure. Thanks for watching and taking the time to leave a comment. Happy Coding!

  • @musickmann
    @musickmann 2 роки тому +28

    Absolutely awesome demonstration. Thorough explanations and easy to follow. This gives me ideas for trying to quickly create dashboards around community data in my city. Can’t wait to see if I can figure out including geo data to create hotspot maps too!

    • @CodingIsFun
      @CodingIsFun  2 роки тому +4

      Happy to hear that it was useful! Thank you for taking the time to leave a comment and for watching the video!

    • @coopergaffney2012
      @coopergaffney2012 2 роки тому +1

      Im actually interested in doing the same for our towns waste water plant data, mostly for practice that hopefully can be turned into something productive. would like to knwo how it turns out

    • @musickmann
      @musickmann 2 роки тому +1

      @@coopergaffney2012 Would love to see your approach and what data you are working with. Water data is one of the big topics where I'm at as well.

  • @santhoshreddykesavareddy1078
    @santhoshreddykesavareddy1078 3 роки тому +3

    Wow! 🤩 this is really fun to learn and implement. I’m sorry restating my sentence “ You made it easy and fun to get started” thank you so much for the detail course.

    • @CodingIsFun
      @CodingIsFun  3 роки тому +3

      Happy to hear that it was fun & useful; thank you for taking the time to leave a comment and for watching the video! 😃

  • @BlueSkyGoldSun
    @BlueSkyGoldSun 2 роки тому

    Because of your simplicity, your the best one in UA-cam .
    Keep going

    • @CodingIsFun
      @CodingIsFun  2 роки тому +1

      Thanks for your kind feedback. I appreciate it!

  • @Ayotundejerry
    @Ayotundejerry Рік тому

    I'm so going to binge watch your videos... You've got the contents I need.. Thanks

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks, Ayotunde! I'm thrilled you enjoy the content. Have a great time binge-watching, and feel free to share your thoughts. Happy watching! 😊

  • @thatsmrgee
    @thatsmrgee 19 днів тому

    This video was very useful to me, I was struggling a lot but I think it helps me

    • @CodingIsFun
      @CodingIsFun  16 днів тому

      Glad it helped! Happy Streamlit-ing! -Sven ✌️

  • @Toady.7871
    @Toady.7871 2 роки тому +1

    First class edited video presentation. Congrats!

  • @GarettHarnish
    @GarettHarnish Рік тому +5

    In pandas 2, you'll get "typeerror: datetime64 type does not support sum operations" on the selection for the fig charts. This is easily fixed by changing sum() to sum(numeric_only=true). Apparently, older versions of Pandas quietly dropped those columns out, but this is no longer the case.
    Similarly, in the version of streamlit I'm running (1.22.0), st.cache is deprecated and needs to be replaced with st.cache_data.
    Handy tutorial. Thanks.

    • @uzii_31
      @uzii_31 Рік тому

      Thank you so much ❤

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks for watching and catching that! It's the reason I put the requirements.txt file in the GitHub repo: github.com/Sven-Bo/streamlit-sales-dashboard/blob/main/requirements.txt. Otherwise, keeping up with more than 100 code examples on my channel would be a real challenge if Python packages keep changing. 😅

    • @manjitmohanty
      @manjitmohanty Рік тому

      after this fix , am getting TypeError: 'DataFrame' object is not callable , did you get that as well ? Any help please

  • @prakash2187
    @prakash2187 Рік тому

    I cannot emphasize how good this vid is

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks for the kind word and watching the video! 👍

  • @chuchaftw
    @chuchaftw 3 роки тому +8

    This is amazing! Thank you for this I’m going to use this to better my personal project

    • @CodingIsFun
      @CodingIsFun  3 роки тому +1

      I am glad you liked the video; thanks for watching and for the comment!

  • @bobtucker9082
    @bobtucker9082 Рік тому +5

    Wow you are a genius! love the simple style and this is a great project for me to do since i want to keep practicing my python skills. Keep up the good content.

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks for the positive feedback! Appreciate you taking the time to leave a comment. 👍

  • @mohammedalbatati5529
    @mohammedalbatati5529 3 роки тому +13

    Great work chief 👏🏼, love your work and it helps me learn more tricks in python.
    I loved the cashing to memory method which is nice to do for better performance.

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      Happy to hear that you enjoyed this one too! Thanks for the comments and support, as always!

  • @subramanyakrishnamurthy8352
    @subramanyakrishnamurthy8352 8 місяців тому

    Totally no nonsense video! You made it all look so easy

    • @CodingIsFun
      @CodingIsFun  8 місяців тому

      Thanks for watching. Glad you liked it! Cheers, Sven ✌️

  • @gianmarcogomiero9249
    @gianmarcogomiero9249 2 роки тому

    That's awesome!! Congratulations, I will centennial study it and use for my business. You are GREAT.

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      It's very kind of you to say so, thank you!

  • @carlo6195
    @carlo6195 2 роки тому

    Thank you, Sven! Very awesome of you to share this.

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      You're very welcome! Thank you for watching and for the comment!

  • @bfbsj7122
    @bfbsj7122 9 місяців тому

    12:40 thanks for explaining how you cache data to improve performance, as I know Streamlit reruns the entire script every time a filter is changed by the user.

    • @CodingIsFun
      @CodingIsFun  8 місяців тому

      Glad you found it helpful! Cheers, Sven ✌️

  • @benlong1062
    @benlong1062 2 роки тому

    I have no need for this but still found it very interesting to watch. It seems so easy and customizable!

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Glad to hear that you still found it interesting to watch :)

  • @jsmith754
    @jsmith754 Місяць тому

    Amazing tutorial. Thank you for sharing. I hit a minor block around 10:10 when doing the groupby, when it gave an error for trying to do sum on datetime fields. I resolved it by dropping the date and time columns, like this:
    df2 = df_selection.drop(['Date', 'Time'], axis=1).groupby(by=["Product line"]).sum()[["Total"]].sort_values(by="Total")
    I am using pandas 2.2.3. Hope this helps.

    • @CodingIsFun
      @CodingIsFun  Місяць тому +1

      Thanks for watching. Please use the latest code from the GitHub repo. Cheers, Sven ✌🏼

  • @fredhare2685
    @fredhare2685 2 роки тому +1

    Very useful video which gives a lot of ideas how to solve my own project issues. Appreciate this work !

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      An absolute pleasure, very happy to hear that you found it useful!

  • @hnclienteshn4501
    @hnclienteshn4501 3 роки тому +2

    hey man, thank you very much for your tutorials, they are quite useful, you are very practical, simple and direct, I learn in an easy and simple way .... Thanks again !!

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      Glad you like them 😃 Thanks for watching & your comment!

  • @adirider6484
    @adirider6484 11 місяців тому

    Well explained brother... i was able to implement this in a few days. You rock !!!!

    • @CodingIsFun
      @CodingIsFun  11 місяців тому

      Happy to hear that! Cheers, Sven ✌️

  • @harisprabowo4039
    @harisprabowo4039 3 роки тому +3

    Thank you so much for this tutorial. Your explanation so clear and give me inspiration to learn python + stramlit.

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      Glad you liked it! Happy learning & coding! :)

  • @GENERALEVILANGEL
    @GENERALEVILANGEL 2 роки тому

    Thank you so much! I was doing a couple of things differently but the most important thing is that it solve some questions that I had

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Glad you liked it. Thanks for watching. 👍

  • @termica7349
    @termica7349 2 роки тому

    BRUTAL! thank you so much for share this kind of content, its very very helpful to help small / mid business to grow an track their data of a proper, clean and easy way !!

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!

  • @bigman7856
    @bigman7856 2 роки тому

    I’m currently at a beginner level and would like to be able to do this with any excel chart of use to get a better understanding. I’ve been warned of “tutorial hell” where I’m able to duplicate the results well, but nothing else. Once I get through more Python classes I think I’ll be able to understand and distinguish Python from any additional tools and therefore know what is essential to this kind of process and what is particular to the graph you are making in the video. I appreciate these videos and I look forward to utilizing everything to it’s fullest.

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Thanks for watching! I wish you a lot of fun & success in your coding journey! :)

  • @Robls501510
    @Robls501510 3 роки тому +2

    Thanks for this very informative video. Learning new things every day.

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!

  • @pathikghugare9918
    @pathikghugare9918 3 роки тому

    Now that's what we call high-quality content!

  • @senthilkumarve1424
    @senthilkumarve1424 Рік тому

    Excellent demo in simple way! well done

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks for the kind words! I am glad you enjoyed it. 👍

  • @felipelazzarotto3058
    @felipelazzarotto3058 2 роки тому +1

    Thanks, mate. Im new to Python and this was great to follow and helped me a lot!

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video! Happy Coding!

  • @mukuldevmahato9669
    @mukuldevmahato9669 2 роки тому

    Thank you so much for the video. Love from India🇮🇳

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Thank you very much for watching the video! Greetings to India! :)

  • @sivamagesh
    @sivamagesh 2 роки тому

    First time visit to this channel. Very impressed 👏 you make python look easy

    • @CodingIsFun
      @CodingIsFun  2 роки тому +1

      Happy to hear that! Many thanks for watching the video & taking the time to leave a comment. I appreciate it! 👍

  • @Gareth.W
    @Gareth.W Рік тому

    Great video. Thanks for creating and uploading it. I learnt a lot in such a short space of time!

    • @CodingIsFun
      @CodingIsFun  Рік тому +1

      Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video! 👍

  • @ahmetsenol6104
    @ahmetsenol6104 Рік тому

    Holy demonstration. I am greatful.

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Glad you liked it. Thanks for watching and your comment! :)

  • @endritlutolli4767
    @endritlutolli4767 Рік тому

    Hey, great content !
    You explain things exactly the way it needs to be explained to make it easy to understand.
    One more question regarding filtering:
    How to filter the filters dynamically among themselves?
    Let's use the first 11 lines in minute 6:15 as an example Dataset
    If I filter the city by "Mandalay", then the other filters remain the same, although there is only one choice (member and female) for the other filters
    Or if I select "male" -> for City only "Napiytaw" and "Yangon" should be displayed and not all 3 characteristics
    Is there a way to define these conditions between the filters?

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks so much for watching the video and leaving a comment! Your request is definitely noted. However, I get a ton of requests for custom solutions and, as much as I'd love to help everyone out, I just don't have the time in my schedule to develop and test all of them. I hope you can understand. Happy Coding!

    • @endritlutolli4767
      @endritlutolli4767 Рік тому

      @@CodingIsFun No problem at all and thanks for the quick feedback!
      Take your time. Maybe I will find a solution in the meantime or someone else knows a way :)
      Otherwise I'm from near Stuttgart, should you feel like a beer or protein shake haha - let me know, I invite you for your great content on UA-cam

    • @CodingIsFun
      @CodingIsFun  Рік тому

      @@endritlutolli4767 I'm always down for a protein shake! 😅Thanks for the invitation I'll keep it in mind. 👍

  • @rafaelborda6422
    @rafaelborda6422 2 роки тому

    I really love that you do something like this in flask

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Thank you for watching the video & your suggestion.

  • @saeedbafaqas8116
    @saeedbafaqas8116 3 роки тому +1

    Thanks alot man for this great content, well explained and visualized.

    • @CodingIsFun
      @CodingIsFun  3 роки тому +1

      Thank you! Glad you liked the video :)

  • @andrewdisher2086
    @andrewdisher2086 Рік тому

    This was pretty nice! I really like the tag-like look of the filters on the sidebar. I just got recommended this video through the algorithm and I wonder how I haven’t found your channel yet! I guess it’s maybe because I’m mostly an R user, and don’t touch Python very often. In R we have a tool called Shiny that does this type of data application development and last I heard the authors have begun porting it over to python. If you haven’t, I’d really recommend checking it out, it’s an extremely powerful tool. It would definitely provide enough content for a UA-cam series.

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks for watching and for your suggestion! I appreciate the recommendation and will keep it in mind for future content, but I can't make any promises.

  • @alittis
    @alittis 14 годин тому

    Thank you. A big help!

    • @CodingIsFun
      @CodingIsFun  6 годин тому +1

      Glad I could help! Thanks for watching! Cheers, Sven ✌️

  • @vikdfr
    @vikdfr 2 роки тому

    Very useful video, and the editing of the video is fantastic. Thanks for sharing the knowledge.

  • @Formula7Driver
    @Formula7Driver 2 роки тому

    Using 6.9 for rating example at 7:34 was a really NICE touch

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Thank you! Glad you like the video! :)

  • @juricadevic7337
    @juricadevic7337 3 роки тому

    Thank you very much. Great tutorials. Useful, practical, simple and direct. Your chanel is a great learning resource.

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      Happy to hear you like them. Thank you for taking the time to leave a comment and for watching the videos! 😃

  • @janaeshkrish
    @janaeshkrish 2 роки тому

    This helped me a lot thanks for the video expecting more like this you are simply rocking

    • @CodingIsFun
      @CodingIsFun  2 роки тому +1

      More to come! Thanks for watching & your comment! :)

  • @Perspicacious_pi
    @Perspicacious_pi 2 роки тому

    Great job! Top form presentation as always

    • @CodingIsFun
      @CodingIsFun  2 роки тому +1

      Thanks for all your comments & support! I appreciate that! 👍

  • @GenNextAnalyst
    @GenNextAnalyst 3 роки тому

    Thanks a lot! Happy new year!

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      A pleasure! Happy New Year! 🎉

  • @namvu607
    @namvu607 Рік тому

    Best tutorial ever sir, thank you.

    • @CodingIsFun
      @CodingIsFun  Рік тому +1

      Glad you liked it. Thanks for watching.

  • @babatundeomotayo8460
    @babatundeomotayo8460 Рік тому +1

    Great content! very simple and easy to follow. Keep up the good work 👍

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks for the positive feedback! Appreciate you taking the time to leave a comment. 👍

  • @MegaArti2000
    @MegaArti2000 Рік тому

    You got me on the "no need for HTML, CSS or JS"

  • @leonardoguimaraes3622
    @leonardoguimaraes3622 2 роки тому

    I’m not related to fully understand this video at the moment, but I will be soon in a few months!!
    Very cool and, congratulations for the video!!!👏🏼👏🏼👏🏼👏🏼
    Which IDE was used?

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Hey there! Thanks for checking out my video. I'm glad you enjoyed it, even if you didn't fully understand everything just yet. Don't worry, you'll get there soon- just keep at it and you'll be an expert in no time! As for the IDE, I used Atom to record the video, but I usually stick with VS Code for my regular coding. Thanks again for your kind words and support - it means a lot to me. 👍

  • @E_Gaks
    @E_Gaks 3 роки тому

    Really instructive video! Good job sir

  • @eduardomoura8613
    @eduardomoura8613 3 роки тому +13

    Muito bom! Parabéns pela excelente didática!

  • @SheerlckHolmes
    @SheerlckHolmes 3 роки тому +5

    Hey, this video is awesome. I was curious how this works with multiple pages within the excel doc and if the data will continue to grow if you add more entries into the excel doc

    • @CodingIsFun
      @CodingIsFun  3 роки тому +3

      Thanks for watching the video and your question.
      You could read in each excel worksheet as a separate dataframe:
      df = pd.read_excel(io="supermarkt_sales.xlsx", engine="openpyxl", sheet_name="Sales")
      df2 = pd.read_excel(io="supermarkt_sales.xlsx", engine="openpyxl", sheet_name="Data")
      df3 = pd.read_excel(io="supermarkt_sales.xlsx", engine="openpyxl", sheet_name="XXX")
      Regarding updating the Excel file:
      If you're going to use Excel, you always need to commit/push the changes to the server. A better solution would be to use a database or Google Sheets. Google sheets has the advantage that it comes with an API. I am also planning to do a video on connecting streamlit with Google sheets in the near future. I hope this helps!

  • @lmeza1983
    @lmeza1983 2 роки тому

    0:06 Interactive dashbog using "Pi-phone" 😂
    Don't hate me, it sounds funny, thanks for the tutorial really informative.

  • @xilllllix
    @xilllllix 3 роки тому

    this is amazing, thanks! i didn't know about this library...

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      Glad you liked the video. Happy Coding! :)

  • @DejvidVangjelofski
    @DejvidVangjelofski Рік тому

    Amazing video, easy to follow and replicate, great job!!

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks for leaving a comment and for taking the time to watch! Glad you liked it. 👍

  • @fxsurgeon1
    @fxsurgeon1 Рік тому

    Exactly what I needed! Thanks!

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!

  • @akshajss7483
    @akshajss7483 Рік тому

    I admire that you reply to every comment, did you also automate that too😅. Nice tutorial though.

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Nope, no automation in place. It's all me 😅

  • @Capt.Burakuman
    @Capt.Burakuman 2 роки тому

    Love this tutorial, then the pay wall behind the feature of this whole tutorial.......

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      As mentioned (and even explained) in the video, you do not need the add-in to follow along ...

  • @mudassarhayat4616
    @mudassarhayat4616 2 роки тому

    Excellent stuff with brilliant explaination

  • @FlemmingLund-nm6sq
    @FlemmingLund-nm6sq Рік тому

    23.04.2023! It is a very Nice bilder up tutorial, but small business does only ned Excel to the same ting if you learn/know how to use Power query, Powers pilot or a little VBA code.

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks for watching and throwin' in your two cents.

  • @conmed55
    @conmed55 3 роки тому

    Amazing tutorial, the best tutorial. Incredible

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      Thank you for your kind feedback! Happy to hear that :)

  • @mmtd91
    @mmtd91 3 роки тому

    Thank you for this wonderful tutorial :)

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      Glad it was helpful! Thanks for watching & your comment! :)

  • @apersonalive4111
    @apersonalive4111 Рік тому +1

    Hi, firstly, you should know that you teach really, really well. Secondly, I'm not able to find a command prompt in Google Colab. What's up with that? It shows an error otherwise. Any advice?

    • @CodingIsFun
      @CodingIsFun  Рік тому +1

      Thanks for checking out the video. Honestly, I have no idea if you can run a Streamlit app on Google Colab. You might want to hit up Google and do some digging to see if it's even possible. Good luck with that!

    • @apersonalive4111
      @apersonalive4111 Рік тому

      Thank you for replying! Yeah, I looked it up. Apparently you can but you have to install ngrok and write a really long code to open the command line prompt. Geez.

    • @apersonalive4111
      @apersonalive4111 Рік тому

      Follow up question: What platform did you code this on?

  • @TheTrotterTribe
    @TheTrotterTribe 2 роки тому

    This is great thank you! I need to create and automate a metrics dashboard. How can I use this and automatically pull in the real time data? Any video on that?

    • @CodingIsFun
      @CodingIsFun  2 роки тому +1

      It's a good question but such a difficult one to answer because it depends on so many factors. So far, I do not have a video on pulling real time data.

  • @muhammadaufa1407
    @muhammadaufa1407 2 роки тому

    this is what i needed, thankyou

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Glad you liked it. Thanks for watching.

  • @felipedelrio263
    @felipedelrio263 Рік тому

    thank you for your excellent work this help me to build my own dashboard for work

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks for watching and taking the time to leave a comment. Happy to hear that you were able to build your own dashboard 💪

  • @stonededge
    @stonededge 3 роки тому

    Jesus I didn’t realize this was you! Awesome work dude, let’s hang out soon!

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      *Thanks!* Yeah! Let's hang out soon!

  • @mehmetkaya4330
    @mehmetkaya4330 Рік тому

    Thank you for the great tutorial!

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Glad you liked it. Thanks for watching and taking the time to leave a comment! 👍😍

  • @BibleSamurai
    @BibleSamurai 2 роки тому

    when he first popped up i was expecting a new york accent. u got me...

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Oh, I thought I have strong German accent 😅

    • @BibleSamurai
      @BibleSamurai 2 роки тому

      @@CodingIsFun dope

  • @mul243
    @mul243 3 роки тому +1

    Thanks for good video. Please, more example of streamlit.

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      My pleasure emile mul, thank you for watching!

  • @datayogi_
    @datayogi_ 2 роки тому

    Awesome video and great efforts 🔥🔥🔥

  • @BrokenRecord-i7q
    @BrokenRecord-i7q Рік тому +1

    Great work done Sven, wonder this is possible with sheets as well!

    • @CodingIsFun
      @CodingIsFun  Рік тому +2

      Thanks for watching. Glad you liked the video. You can also connect Streamlit to Google Sheets. Have a look here: docs.streamlit.io/knowledge-base/tutorials/databases/private-gsheet
      I hope it helps! Happy Coding!

    • @BrokenRecord-i7q
      @BrokenRecord-i7q Рік тому

      @@CodingIsFun That's so sweet of you, thanks a lot :)

  • @ricardo.alves.campos
    @ricardo.alves.campos 3 роки тому

    Hi, as always great video. 🙂

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      As always, thank you very much for the comments and support, Ricardo Campos! 😃❤

  • @yeahjustlikethat
    @yeahjustlikethat 2 роки тому

    This was outstanding, thank you

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Happy to hear that! Thanks for watching and taking the time to leave a comment!

  • @manderfeldnet
    @manderfeldnet 3 роки тому +1

    I hear German efficiency speaking, thanks a lot!

    • @CodingIsFun
      @CodingIsFun  3 роки тому +1

      A pleasure! Thanks for watching the video and your comment! 👍

  • @wicem4
    @wicem4 Рік тому

    thanks for the tutorial, amazingly quick and clear; just one thing i didn't understand the effect is about this color*lengh of the bar, it didn't seem to work

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks for watching. What exactly didn't seem to work? Did you get an error message?

    • @wicem4
      @wicem4 Рік тому

      @@CodingIsFun when you ake it in the video you multiply the color by the bar (what is it suposed to do ?) maybe it's working but i didn't get it.

    • @CodingIsFun
      @CodingIsFun  Рік тому

      @@wicem4 Please revisit the video starting at 10:40 min. In the color_discrete_sequence, you can define a list of colors for the bars. In my situation, I wanted all the bars to have the same color. To achieve this, I multiplied the hex color code by the length of the dataframe (number of columns). I hope this explanation is clear. Feel free to experiment with or remove this line to observe its impact on your chart.

    • @wicem4
      @wicem4 Рік тому

      @@CodingIsFun thanks for the explanation, i had indeed misunderstood your line. i thought that when you multilplied, it would change the color depending on the lengh of the bar. thanks again !!

  • @edpalen5295
    @edpalen5295 3 роки тому

    thank you for sharing this video. Very useful!!!

    • @CodingIsFun
      @CodingIsFun  3 роки тому

      A pleasure! Glad you like the video! :)

  • @MauricioJaguan
    @MauricioJaguan 2 роки тому

    I LOVE YOUR CHANNEL!

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      *I am glad to hear you are enjoying the videos, thanks for watching and for the comment!*

  • @sasongkosan8832
    @sasongkosan8832 3 роки тому +1

    Perfect !! Your tutorial is amazing ❤️❤️ .. is that possible if the excel file was update or changes the value .. and the value on the dashboard will changes /update also?

    • @CodingIsFun
      @CodingIsFun  3 роки тому +2

      Thanks for the kind words! I am glad you enjoyed it. If you run it locally, the changes in Excel will be reflected in streamlit. Yet, I assume you want to reflect the Excel changes in a deployed streamlit web app. If you're going to use Excel, you always need to commit/push the changes to the server. A better solution would be to use a database or Google Sheets. Google sheets has the advantage that it comes with an API. I am also planning to do a video on connecting streamlit with Google sheets in the near future. I hope this helps!

  • @okotpascal
    @okotpascal Рік тому +1

    I've used the same command and even tried the suggested one by jupyter notebook but I've failed to see the Dashbord

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks for checking out the video. Honestly, I have no idea if you can run a Streamlit app on Jupyter Notebook. You might want to hit up Google and do some digging to see if it's even possible. Good luck with that!

  • @coreyhodder5
    @coreyhodder5 2 роки тому

    This is great - one question: Why does the df.query need to reference the @city st.sidebar.multiselect object with an “@“ sign?

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Thanks for watching.
      The @-sign lets pandas know that you are referring to a variable.
      I have put together a simple example for you:
      pastebin.com/iiTSBx30
      Kindly see the difference and notice that the last line will create an error.
      I hope it helps!

  • @burnoutcycle
    @burnoutcycle 2 роки тому

    Great work !!! it's fantastic, thanks a lot

  • @albaradarwish9190
    @albaradarwish9190 2 роки тому

    Amazing! I have been looking to gap Excel and coding for dashboards. I like PowerBI but this is more fun!

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      Glad it was helpful! Happy Streamlit-ing! 🎉

  • @luislopes806
    @luislopes806 Рік тому

    Particularly, I thank you for this Video! It is excellent one.
    This Video is very important to me. The Streamlit is to create web applications directly in Python. I would like to you to explain how to create web application for Energy Consumption for my project.

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thank you for watching the video, the kind words & your video suggestion. 👍

  • @h2nrlc
    @h2nrlc 2 роки тому +1

    Very thanks, good 👍 n details explain

    • @CodingIsFun
      @CodingIsFun  2 роки тому +1

      Glad you liked it. Thanks for watching. 👍

    • @h2nrlc
      @h2nrlc 2 роки тому

      I've learned VBA Excel for long time but should be updated my knowledge by learn python for the first time, I think it will be fun to code with python, so I say thank you for this video

    • @CodingIsFun
      @CodingIsFun  2 роки тому +1

      @@h2nrlc I still use VBA in some of my projects at work. Yet, Python is indeed very fun. You can literally build anything you want, and the syntax is easy to learn :)

  • @julianawada-victor3376
    @julianawada-victor3376 2 роки тому

    great work! helped my project.

  • @srh1034
    @srh1034 2 роки тому

    I am amazed by your tutorials. A question for you:
    I have started designing a data exploratory app using Streamlit and SQL in my work place. People are amazed by how fast the project can be prototyped and how simple and tidy it looks. I have concerns regarding Streamlit robustness and reliability and whether or not it is a wise choice to use Streamlit as an enterprise and production ready app. or Plotly Dash maybe?

    • @CodingIsFun
      @CodingIsFun  2 роки тому +1

      Thanks for watching the video and your kind words. What exactly do you mean by robustness and reliability concerns?

    • @srh1034
      @srh1034 2 роки тому

      @@CodingIsFun Robustness & Scalability: What if I what to share same app with 10s (100s maybe?!) of users which will use it simultaneously for heavy analytics which is handled behind the seen by Python, Pandas, ....
      Reliability: My problem right now is that Streamlit app stops running sometimes without showing any error! This is a big concern if I want to share this app with a wider group of users.

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      @@srh1034 Robustness & Scalability: In my opinion, this is more related to the server capabilities on which you will deploy your (streamlit) web app and how you structure your app.
      Reliability: So far, I have not experienced sudden stops without any errors. You might want to introduce logs to your app, to narrow down the bug.

  • @SuperNaicker
    @SuperNaicker Рік тому

    Great video. Thanks. One question. How is this better than PowerBI? More controls and flexibility to customize?

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks, Senthil! Briefly, PowerBI is more focused on data visualization and reporting, while Streamlit allows for more customization and flexibility in creating interactive web apps using Python. One area where Streamlit shines is in building interactive web apps for machine learning or data science projects, as it easily integrates with Python libraries and enables quick prototyping and sharing. Both have their strengths depending on your specific use case. 😊

  • @johndalevacaro5687
    @johndalevacaro5687 2 роки тому

    this is amazing!! thank you so much

  • @anduq1092
    @anduq1092 Рік тому

    Good luck getting any of this past most Risk departments i've seen. But...not bad!

    • @CodingIsFun
      @CodingIsFun  Рік тому

      Thanks, I deployed already many Streamlit applications on your on-premise cloud. But...thanks for your comment!

  • @sum_andres31
    @sum_andres31 2 роки тому

    This is directly competing with web power Bi dashboards. Really interesting.

    • @CodingIsFun
      @CodingIsFun  2 роки тому

      *Thanks for watching the video & your comment.*

  • @sanketss84
    @sanketss84 Рік тому

    super helpful video. thank you.

    • @CodingIsFun
      @CodingIsFun  Рік тому +1

      Glad you liked it. Thanks for watching and taking the time to leave a comment!

    • @sanketss84
      @sanketss84 Рік тому

      @@CodingIsFun thanks for taking the time to make this informative video and sharing your knowledge with the world.

  • @abramswee
    @abramswee Рік тому

    good stuff. Thanks for sharing!

    • @CodingIsFun
      @CodingIsFun  Рік тому

      My pleasure! Appreciate you taking the time to watch and leave a comment. 👍

  • @shockinho
    @shockinho Рік тому

    amazing, congratulations!

    • @CodingIsFun
      @CodingIsFun  Рік тому +1

      Glad to hear you liked it! Thank you for commenting and watching. :)