Python Interactive Dashboard STEP BY STEP

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025

Комментарии • 41

  • @loresowhat
    @loresowhat  Год назад +5

    Ciao guys, let me know what you think about this project and how to improve it 👍

    • @satya6693
      @satya6693 Год назад +1

      Sir is there anyway where i can contact or speak with you online as i need some guidance with my Data Analytics career. I am from India

    • @loresowhat
      @loresowhat  Год назад

      @@satya6693 sure please text me on Instagram at loresowhat 😉

    • @ZakirBhai-y2d
      @ZakirBhai-y2d Год назад

      sir can you suggest me some bullet points os suggestion that how there insights we add in resume regarding this project@@loresowhat

  • @pasheikhngom
    @pasheikhngom Год назад +2

    This was extremely fun and easy to follow through. Thanks so much for taking the time to make this. New subscriber here!

    • @loresowhat
      @loresowhat  Год назад

      glad you like it and thanks for the sub!

  • @IamRichard001
    @IamRichard001 Год назад +2

    In subsequent videos, please zoom in on your screen so we can easily follow through

    • @loresowhat
      @loresowhat  Год назад

      will do thanks for the feedback!

  • @venip
    @venip Год назад +1

    Thank you so much!! Super well explained

  • @IlariaMarino-xl2yb
    @IlariaMarino-xl2yb Год назад +1

    Hey Lore, nice one :) - please could you specify where to save the images to load into the dashboard?

    • @loresowhat
      @loresowhat  Год назад

      you can save them in the same folder of the python file

  • @fdarko1
    @fdarko1 Год назад +1

    I love i love i love ! what a brain!

  • @sethkokori6166
    @sethkokori6166 Год назад +1

    This is so helpful.

  • @hopeafang9871
    @hopeafang9871 Год назад +2

    Hey Lore. In what situations have you had to use a web interactive dashboard at work? And what are the advantages of making your dashboard from scratch rather than use a tool like Tableau?

    • @loresowhat
      @loresowhat  Год назад

      very good question!! In my case I have worked only with big companies that could afford getting a visualisation tool. the pros of making it all in Python is that it is open source so you dont have to pay a penny. this might be a good use cases for smaller businesses that want to save money on tools... let me know if this makes sense

    • @hopeafang9871
      @hopeafang9871 Год назад

      @@loresowhat That's very helpful👍🏾😊. If I may ask, what is your preferred library, I've heard of streamlit, dash and now Panel, so which would u suggest for beginners?

  • @stickyvicky16
    @stickyvicky16 Год назад +2

    great video, it would be pretty helpful if you used your mouse to follow along on what code your are explaining. Overall great content

    • @loresowhat
      @loresowhat  Год назад +1

      Thanks for the feedback and will definitely keep in mind for the next one 👍

  • @yosefmentzer
    @yosefmentzer Год назад +3

    Great content.
    By getting the latest month and year individually, you lose the connection between them and will get the highest month number overall, not the latest month.
    For example, if your data base includes December, 2022, your code will return '12' as `latest_month` and 2023 as `latest_year`.
    You should get the latest datetime and then get month and year.

    • @loresowhat
      @loresowhat  Год назад +1

      Good point, thank you so much for your feedback 🙂

    • @tomha1
      @tomha1 Год назад

      @@loresowhat great tutorial!
      here is the fixed script
      # Get the latest month in the latest year
      latest_year = df['Year'].max()
      last_year_expenses = df[(df['Year'] == latest_year)]
      latest_month = last_year_expenses['Month'].max()
      last_month_expenses = df[(df['Month'] == latest_month) & (df['Year'] == latest_year) & (df['Amount'] < 0)]
      I had to add the last bit because my list of transactions contains positive and negative values

    • @renrav
      @renrav Год назад +2

      Came here to say the same thing. For anyone looking for an easy method to do this, just grab the max date and then extract the month and year from that.

    • @ltk7309
      @ltk7309 6 месяцев назад

      @@renrav so what should the code be?? Please provide the code :(

    • @ltk7309
      @ltk7309 6 месяцев назад

      Would deeply appreciate if you could provide the code for what you've suggested.
      Do you mean like this: latest_date = df['Date'].max()

  • @shaikhkashif9973
    @shaikhkashif9973 Год назад +1

    Hey can u make a vedio on the topic ie- How to share the python dashboard, like we share tableau & excel through link.

    • @loresowhat
      @loresowhat  Год назад +1

      that's a good tip and will definitely think on how to deliver that 😉

  • @aniketjaswal10
    @aniketjaswal10 Год назад +1

    Hey. Thanks for making this video, it's been really helpful following along with it. Can you please provide the whole dataset that you used in this project as csv ? I made the dataset manually like you mentioned in your code but it seems to be a bit too short for appropriate analysis and studying. So if you could provide the whole dataset , it would be really really helpful.
    Hope to hear from you soon.
    Thanks again.

    • @loresowhat
      @loresowhat  Год назад +2

      hey that is my bank statement so not really feeling like sharing it online. another solution would be to put the data you have into chatGPT and ask to extend the dataset with dummy data. let me know if that works (you could also do something similar with Python)

    • @shaikhkashif9973
      @shaikhkashif9973 Год назад

      ​@@loresowhat😂

  • @timoleary1428
    @timoleary1428 9 месяцев назад +1

    The code itself is easy to follow, but I'm confused on the use of jupyter notebook. My markdown isn't showing up correctly and nothing seems to be processing for me as it does in your notebook. I've used R shiny to make dashboards and it's much more intuitive in my opinion than anything I've tried to do in python

    • @loresowhat
      @loresowhat  8 месяцев назад

      You can replicate the project in R if you feel more comfortable with it 🙂

    • @ltk7309
      @ltk7309 6 месяцев назад

      @@loresowhat So how do we save and add this project to our portfolio?

  • @prachidhaka1189
    @prachidhaka1189 7 месяцев назад +1

    where we get the project files

    • @loresowhat
      @loresowhat  5 месяцев назад

      link in descriptions

  • @internetmanifesto
    @internetmanifesto Год назад +1

    On your code, while following along I am getting an error:
    df = df[['Completed Date', 'Description', 'Amount']] #Keeping only desired columns
    -----> df['Description'] = df['Description'].map(str.lower) #lower case of descriptions
    TypeError: list indices must be integers or slices, not list
    I'm not sure how to fix this, as I have tried the apply function as well - any help is appreciated thanks.

    • @salvadormenjivar8408
      @salvadormenjivar8408 Год назад +1

      The error message you're seeing suggests that df is a list, not a Pandas DataFrame as you're expecting it to be.
      If you're sure that df should be a DataFrame, then it's possible that you may have accidentally overwritten df with a list earlier in your code. To confirm this, you can check the type of df using the type() function: print(type(df))
      If df is a list, you won't be able to use the syntax df['Description'] to access the 'Description' column. Instead, you'll need to use integer indexing, like df[0], to access the first column of the list.
      If you're still unsure about the cause of the error, you may want to include more of your code or share the complete error message to help me provide a more specific solution.

    • @loresowhat
      @loresowhat  Год назад +1

      wow thanks a lot for the reply, really appreciate your effort and expertise 👍

    • @salvadormenjivar8408
      @salvadormenjivar8408 Год назад +1

      @@loresowhat Happy to help!!