NEW Python in Excel - PYTHON + EXCEL + ChatGPT = Easy!

Sdílet
Vložit
  • čas přidán 11. 06. 2024
  • How to use Python in Excel natively using libraries like Pandas, NumPy, Matplotlib, Seaborn and more. In this video I'll show you how to use Python in Excel to do data analysis and create amazing Python charts, aka Python plots.
    Don't know Python, don't worry, I'll show you how to use ChatGPT to write the Python code for you and cover the error messages you might experience.
    ⬇️DOWNLOAD the example file here: www.myonlinetraininghub.com/p...
    📝 Note: At the time of recording Python in Excel is currently available to Microsoft 365 Office Insider users on the Beta Channel: insider.microsoft365.com/join
    ❓ Are you excited about Python in Excel? Please let me know in the COMMENTS.
    🎓 LEARN MORE in my Excel courses: www.myonlinetraininghub.com/
    🔔 SUBSCRIBE if you’d like more tips and tutorials like this.
    📢 Please leave me a COMMENT. I read them all!
    🎯 CONNECT with me on LinkedIn: / myndatreacy
    🎁 SHARE this video and spread the Excel love.
    Or if you’re short of time, please click the 👍
    💬 EXCEL QUESTIONS: Get help on our Excel Forum: www.myonlinetraininghub.com/e...
    ⏲ TIMESTAMPS
    0:00 Python in Excel
    0:57 Import Python Libraries in Excel
    1:57 Defining Dataframes from Excel Data
    3:16 Descriptive Statistics in Python
    4:05 How to Use ChatGPT to Write Python
    6:27 How to Create Python Charts in Excel
    9:11 Python Errors in Excel

Komentáře • 495

  • @MegaTrickykid
    @MegaTrickykid Před 9 měsíci +4

    Absolutely amazing, Mynda. You have already pushed open another door! What you have demonstrated here is absolutely fantastic. Many thanks also for the working material, which I immediately downloaded from your website. warm greetings from Berlin!

  • @garydunken7934
    @garydunken7934 Před 9 měsíci +4

    I love Excel AND Python, and been working with them for years. This is very exciting indeed! Thanks for the news.

  • @benjaminnzioki8815
    @benjaminnzioki8815 Před 9 měsíci +5

    This is awesome! I must admit I am struggling to catch up with new Microsoft Apps and features. Thanks, Treacy for always providing relevant use case descriptions.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci +2

      My pleasure! I know, it's a lot even for me, and I write about it for a living 😁

  • @davidbristoll195
    @davidbristoll195 Před 9 měsíci +11

    This is a game changer. When I considered the possibility of using Python in Excel, I was thinking it might be in place of Visual Basic and hadn't considered the possibilities of using libraries as you've demonstrated.
    I'm still interested in the possibilities of using for loops to iterate through lines for some unusual requirements I might have, so I'll explore more.
    Thanks for sharing this info in such an easy to understand and follow way 👍🏻

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci

      Cheers, David! Sounds like you have some ideas ready to go. Have fun with it 😊

  • @Cytotube2
    @Cytotube2 Před 9 měsíci

    Mynda, thank you so so much!! News and insightful tutorials like this keep me excited for your new videos. Python is Excel is so exciting!!

  • @AlvinRyellPrada
    @AlvinRyellPrada Před 9 měsíci +22

    Wow this is really awesome! Looking forward for full deployment of Python in excel for data science!
    excel never ceases to amaze me in making itself relevant! thank you for sharing this, Mynda!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci +2

      🙏Great to hear you're excited about Python in Excel!

    • @Flylikea
      @Flylikea Před 9 měsíci +1

      Same, Python is very user-friendly (especially with all the sources available and chatgpt)

    • @snipelite94
      @snipelite94 Před 9 měsíci

      The power of python is that it has no limitations on the number of records in BIG BIG DATA!! 😁
      I'm waiting to see if being tied to an excel spreadsheet will install a ceiling on data size 😣
      Also, can we pip install any of the python libraries and then import them for use in excel ?
      Excel already does dataframes/tables and charts, but, traditionally, we've have to skedaddle to VBA to process text mining stuff.
      However, I'm looking forward to the general release to take it for a test drive.
      Thanks for the intro, Mynda 👍

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 Před 9 měsíci

      This will be a great way of squeezing some more revenue out of Excel jocks too dumb to realize that you can completely bypass the whole Microsoft bit and make direct use of Python and NumPy and Jupyter and Pandas and Matplotlib and all the rest of it ... for free.

  • @ExcelCampus
    @ExcelCampus Před 9 měsíci

    Great video Mynda! So many new things to learn and explore in Excel.

  • @TopBam
    @TopBam Před 9 měsíci +5

    Always wanted to learn Python, now I have a reason! Thank you, Ma'am!

  • @ziggle314
    @ziggle314 Před 9 měsíci +5

    Game changer. Can't wait for it to move beyond beta. Thanks for the briefing.

  • @alangrinsteinner4033
    @alangrinsteinner4033 Před 9 měsíci +5

    This was amazing. I look forward to each Excel Newsletter but this installment was Epic. Thank you Mynda...you continue to deliver value with each newsletter.

  • @richarddunks7703
    @richarddunks7703 Před 9 měsíci

    This is great! Thanks for the comprehensive overview. I'm looking forward to playing with this.

  • @Seftehandle
    @Seftehandle Před 9 měsíci

    This is phenomenal work! Thanks Mynda!

  • @sc100200090
    @sc100200090 Před 9 měsíci +1

    Excellent!!!
    Python + Excel + ChatGPT is a Chat worth while!!!!
    Well going amazing enough Mynda!!!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci +1

      😁 sure is! Glad you liked it 🙏

    • @kevinmcfarlane2752
      @kevinmcfarlane2752 Před 9 měsíci

      Be aware that besides ChatGPT and Bing, there are other Chat AIs out there as well. From my experiments with code (and in general) no one AI gives the best answer for every prompt. So it’s often worth comparing at least a couple at a time.

  • @Vikram_8621
    @Vikram_8621 Před 9 měsíci

    This is so valuable! thank you so much! 🙏

  • @gesalerico
    @gesalerico Před 9 měsíci

    Mynda, thank you again, my best excel teacher!

  • @afhlmd
    @afhlmd Před 9 měsíci

    wow, wow, wow. That's what i have to say about it. Thank you so much for bringing this to us Mynda. You're the best

  • @SplitSniper7
    @SplitSniper7 Před 9 měsíci

    This is awesome! Thank you for sharing, cant wait for this to come to the regular user

  • @miguelangelponce8553
    @miguelangelponce8553 Před 9 měsíci

    Thank you Mynda ,A'm amazed the way this goes beyond and out of limits

  • @malcolmvaneyck1968
    @malcolmvaneyck1968 Před 9 měsíci

    This is just awesome and it will tremendously change certain things in my line of work. Thank you Mynda!

  • @Acrnl
    @Acrnl Před 9 měsíci

    This is great great. Looking forward to see more insights into Py usage. Well done

  • @leeotzu
    @leeotzu Před 9 měsíci +1

    Wow, this is a game-changer. I can't wait to get it through the Office 365 beta channel. Thank you

  • @manikandankbis7977
    @manikandankbis7977 Před 9 měsíci

    Excellent videos.. i always loved to listen to your classes..

  • @yassirkhalid5376
    @yassirkhalid5376 Před 9 měsíci +1

    The Microsoft Teams working on Excel are brilliants! You can't sleep these days with these fast moves...

  • @IgnitedVisions
    @IgnitedVisions Před 9 měsíci

    This is an awesome tutorial. Thank you for sharing it!!

  • @mmohsin_92
    @mmohsin_92 Před 9 měsíci +1

    Your Brilliance I can't wait to use python in Excel. it is incredible. Thank you!

  • @ricardomantovaniassis
    @ricardomantovaniassis Před 9 měsíci

    Thanks Mynda. You rocks 🙏🙏🙏🙏

  • @sandravukovic2901
    @sandravukovic2901 Před 9 měsíci

    Great tutorial, thank you so much!! ❤

  • @Terracotta-warriors_Sea
    @Terracotta-warriors_Sea Před 9 měsíci

    Thank you for this wonderful feature!

  • @stephenkaltenhauser2671
    @stephenkaltenhauser2671 Před 9 měsíci

    Thank you Mynda! Fantastic!😊

  • @yashison
    @yashison Před 9 měsíci

    Amazing, thanks for the quick reference.

  • @cato451
    @cato451 Před 9 měsíci

    Amazing add to make excel even better. Thank you!!

  • @Khan-mc3gi
    @Khan-mc3gi Před 9 měsíci +1

    wow it will be game changer for data analytics u made great video thanks alot

  • @mogarrett3045
    @mogarrett3045 Před 9 měsíci +1

    now this is really a game changer....thank you so much

  • @joaocustodio2094
    @joaocustodio2094 Před 9 měsíci

    Mynda, thank you very much for this great news, which will open up lots of possibilities in Excel.

  • @QuantumIdeas
    @QuantumIdeas Před 9 měsíci

    Wow, it only took me 1 min to watch the video to press subscribe and click the like. That's how awesome this video is.... Cheers!

  • @kumarsb
    @kumarsb Před 9 měsíci

    Thank you for a great intro to Python in Excel

  • @shrikantbadge3978
    @shrikantbadge3978 Před 9 měsíci

    Thank you so much. Every video is valuable.

  • @MarekBernolak
    @MarekBernolak Před 9 měsíci

    Great material. 🚀🚀

  • @jenbac.s1858
    @jenbac.s1858 Před 9 měsíci

    Wow! Amazing! Now i have more drive to learn Python! Guess what! In Excel ! Thank you, Mynda🎉❤

  • @rachelle5432
    @rachelle5432 Před 9 měsíci

    SO EXCITED!!!

  • @marcelo_urban
    @marcelo_urban Před 9 měsíci

    Belíssima explicação! E que simpatia!!!

  • @flexyourdata
    @flexyourdata Před 9 měsíci

    Great explanation, thanks!

  • @KlinAprimora
    @KlinAprimora Před 9 měsíci +16

    Mynda, what an incredible thing to see! Even not knowing a thing in Python, of course it is widely known that it is amazing and will bring new endless possibilities to Excel!

  • @riverbluesky
    @riverbluesky Před 9 měsíci

    Thank you for a great explanation

  • @TheCraigie007
    @TheCraigie007 Před 9 měsíci

    Simply Loving it. Excelthonic!

  • @muntazirabidi
    @muntazirabidi Před 9 měsíci

    Wonderful. Thanks for the video.

  • @Thembatimba
    @Thembatimba Před 9 měsíci

    This is a definite game changer 🙌👏🙏👌

  • @fluffyhoneytina
    @fluffyhoneytina Před 9 měsíci

    how exciting, something new

  • @pablobonilla9498
    @pablobonilla9498 Před 9 měsíci

    Great info !!!

  • @LuisCarlosChavez717
    @LuisCarlosChavez717 Před 9 měsíci

    Super Awesome!

  • @Abu.Al_Mortaja
    @Abu.Al_Mortaja Před 9 měsíci

    Thank you Mynda🌹

  • @moaiedbetamour6078
    @moaiedbetamour6078 Před 8 měsíci

    I love your videos

  • @MrJarod2003
    @MrJarod2003 Před 9 měsíci

    good video !
    yes again

  • @stephencooper3583
    @stephencooper3583 Před 9 měsíci

    Exciting!

  • @h2nrlc
    @h2nrlc Před 9 měsíci

    Thanks for share, very useful 🙂

  • @arunachaleswaran
    @arunachaleswaran Před 9 měsíci

    Oh WOW!!!!!!!!!! ... Ur the best Mynda

  • @yannkitson116
    @yannkitson116 Před 9 měsíci

    I know Python so this is great, thanks for sharing.

  • @lukev730
    @lukev730 Před 9 měsíci

    Awesome Teaching…

  • @GuyOrlov
    @GuyOrlov Před 9 měsíci

    wowser it will change data world thanks!

  • @stopthink9000
    @stopthink9000 Před 9 měsíci

    Very cool!! Two of my favorite things together like pizza and beer! Cant wait until its in wide release.

  • @JimFikes
    @JimFikes Před 9 měsíci

    I am so glad that we finally have Python in Excel.

  • @harshadbarot
    @harshadbarot Před 9 měsíci

    Awesome information madam, I am really happy with this information

  • @consultcorpgroup1231
    @consultcorpgroup1231 Před 9 měsíci

    Magnificent 👍

  • @mykola_kanyuk
    @mykola_kanyuk Před 9 měsíci

    very very excited

  • @paulmartineau3850
    @paulmartineau3850 Před 9 měsíci

    Thanks for this video Mynda. This is powerful stuff. I already use python and being able to use the python libraries with Excel is exciting.
    I wonder if you will be doing courses with Excel and Python Libraries in the future. If you do, let me know.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci

      Great to hear you're looking forward to using Python in Excel, Paul! I'll keep you posted regarding any new Python courses 😊

  • @elijahajayi987
    @elijahajayi987 Před 9 měsíci

    Incredible👏

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci +1

      Glad you're excited about Python in Excel 😊 Have fun with it!

  • @mohmmadabdo5899
    @mohmmadabdo5899 Před 9 měsíci

    You are the best

  • @rachaelhanna8523
    @rachaelhanna8523 Před 9 měsíci

    This is fantasic - My job will never be the same!

  • @user-cg9ns8id3x
    @user-cg9ns8id3x Před 9 měsíci

    All I can say is, 'endless possibilities.' I cannot even begin to imagine the extent of Excel + Python. I will certainly come back to this post.

  • @TaxMentors
    @TaxMentors Před 9 měsíci

    Awesome video

  • @davicapatonascimento8543
    @davicapatonascimento8543 Před 9 měsíci

    Hi, excellent news I am making a course of Python and this news went the but amazing in this moment. I wiil go many jobs with python and excel. Thanks

  • @ricardostorck
    @ricardostorck Před 9 měsíci

    Amazing!!!

  • @tuancuong37
    @tuancuong37 Před 9 měsíci +1

    this is the first time, i watch video after releasing 3 minutes :D

  • @localyaar.bf-tv3603
    @localyaar.bf-tv3603 Před 9 měsíci

    thanks it's amazing

  • @Mandelbrot567
    @Mandelbrot567 Před 9 měsíci

    This is fantastic news. I stopped learning VBA a while back and switched to Python. I have seen in some job postings some companies are looking to update legacy Excel and this may be an option in the future.

  • @edwardeggleston3612
    @edwardeggleston3612 Před 9 měsíci

    Thank you Mynda. yet another feature to help confuse us oldies. Just kidding, we will get our minds around it eventually I guess.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci

      😁I'm sure you will. It'll keep the brain cells active at least!

  • @rrrprogram8667
    @rrrprogram8667 Před 9 měsíci +1

    You are one of the best teachers of excel... Where r u from?

  • @titusmusau2091
    @titusmusau2091 Před 9 měsíci

    Really excited to learn python and use it in my data analytics. I'm currently training at ALX Africa in partnership with Explore Academy.

  • @KM-co5mx
    @KM-co5mx Před 9 měsíci

    Well that's rad!

  • @m.bouguerra
    @m.bouguerra Před 8 měsíci

    Tu es géniale merci Amenda

  • @chrism9037
    @chrism9037 Před 9 měsíci +2

    Cool stuff Mynda. Once I get a bit better with DAX and M Code, I’ll turn my attention to learning some Python!

  • @malchicken
    @malchicken Před 9 měsíci

    Thank you for this video. Where would you recommend I look to find more information on the different type of graphs available thru Seaborn? Thank you 🙏🏽.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci

      My pleasure. You can see the Seaborn graphs here: seaborn.pydata.org/examples/index.html

  • @andrewcharlesmoss
    @andrewcharlesmoss Před 9 měsíci +1

    Python integration opens up a whole new world of possibilities! One grumble I have, though, is I can’t help but think we need the Advanced Formula Environment to replace the formula bar we’re so used to. It doesn’t seem right typing Python code in the current one!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci +1

      I agree, the AFE would be ideal for Python. It may well work. I haven’t tried it yet.

  •  Před 9 měsíci +2

    Gracias Mynda, es maravilloso ahora Python en Excel. Me encanto tu video. Felicitaciones.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci +2

      ¡Muchas gracias!

    • @Fredick.7
      @Fredick.7 Před 9 měsíci

      🙂...Extraordinaria noticia: A estudiar Python se ha dicho. Saludos Andrés.

    •  Před 9 měsíci +1

      @@Fredick.7 Saludos Freddy, un abrazo fuerte amigo.

  • @JennTheWriter
    @JennTheWriter Před 9 měsíci

    Truly amazing to see how all this works! I can't wait to be a wiz kid! As always, Mynda, great information! :)

  • @IamTheReaper911
    @IamTheReaper911 Před 9 měsíci

    Again 👏👏👏👏 👍😎

  • @osvaldodipini6930
    @osvaldodipini6930 Před 6 měsíci

    Hi, I'm JUN. Thank you. I need more tips to learn. It's very educative.😅

  • @marcovirtual
    @marcovirtual Před 9 měsíci

    Excel + Python is a game changer. The competition will have some catching up to do.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci

      Sure is!

    • @artsmith1347
      @artsmith1347 Před 9 měsíci

      There is no catching up to do. M$ simply offloaded the cost of developing the scripting language to the open-source community. The competition has been better since the 80s. Excel and Word were not better than Quattro and WordPerfect. Maybe this misstep by M$ will push their Office products to the obscurity they have deserved.

  • @sskhan1762
    @sskhan1762 Před 9 měsíci

    Great work Mynda.
    Can we import files from other workbooks?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci +1

      You can import files with Power Query and then connect directly to them as objects. That’s a video for another time 😁

  • @Jallandhara
    @Jallandhara Před 9 měsíci

    Finally!

  • @luisquismondo
    @luisquismondo Před 9 měsíci

    This is definitely a trigger to learn some Python.

  • @HarshColby
    @HarshColby Před 9 měsíci

    You're the first I've heard explain "enter =PY and tab". This is essential. If you just put =py and return, like you'd normally do, it won't work.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci +2

      Glad I could help! =PY( also works, or the keyboard shortcut which I prefer: CTRL+ALT+SHIFT+P

    • @kyth2583
      @kyth2583 Před 9 měsíci

      Hi Mynda, it still wont work with me using the shortcut either way.

    • @HarshColby
      @HarshColby Před 9 měsíci

      @@kyth2583 Do you have the beta program and downloaded Version 2309 Build 16818.20000?
      In Excel (Microsoft 365), File => Account (on left near bottom) => "About Excel" should have that version number (or higher) and say "Beta Channel".

  • @brianvaddan9987
    @brianvaddan9987 Před 9 měsíci

    That’s incredible thank you Mynda. A question, can the data frame reference a table housed in Power Query and included as a connection only in excel? That would take away the data size constraints of excel.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci +1

      Yes, it can 👍 next week’s video 😉

    • @brianvaddan9987
      @brianvaddan9987 Před 9 měsíci +1

      Oh wow that’s brilliant- thank you for making these super insightful videos

  • @razmangoudarzi4909
    @razmangoudarzi4909 Před 8 měsíci

    Thank you for the wonderful video! It was truly informative and enlightening. I'd like to create a new sheet in my Excel file using the structure defined in Python code from another sheet. I'm having trouble writing the code to implement this. Could you assist me?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 8 měsíci

      Glad you liked it! My Python skills are still limited, but I wonder if the problem you're experiencing is due to the order of evaluation i.e. Python can only reference cells above or to the left of the active cell, likewise for sheets. e.g. Sheet1 cannot reference Python on Sheet2, assuming sheets are in numeric order in the file. Hope that helps.

  • @hongjiachen8270
    @hongjiachen8270 Před 9 měsíci

    Hi Mynda, this is amazing. Unfortunately, I don't have the privilege to give it try. I wonder what python libraries does it come with? Can user install custom packages with pip command? Since you mentioned it does come with pandas so I suppose reading data from various databases would not be an issue, but how about common packages such as openxl etc.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci

      Great to hear you're excited about it. Any libraries supported by Anaconda are available: www.anaconda.com/excel

  • @applepeel1662
    @applepeel1662 Před 9 měsíci

    MS excel is probably the most underrated software product ever built

  • @cedjulemckeever
    @cedjulemckeever Před 9 měsíci +1

    Interesting. Do you think it is worth learning Python? If so, what would be the advantages? What is the downside?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci

      I think at least knowing the basics of Python will enable you to leverage the code you can get from ChatGPT more easily.

  • @michaelbowen2239
    @michaelbowen2239 Před 9 měsíci

    I'm impressed. I will have to spend the time playing with it. I keep an excel spreadsheet with daily calorie intake as well as protein, fat, weight, etc. Is there an easy way that python can scale all the charts at once?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci

      If by scale, you mean automatically pick up the new data, then see this video: czcams.com/video/Jev5ATXwnOs/video.htmlrel=0

  • @gibbousmoon35
    @gibbousmoon35 Před 9 měsíci

    Wow!!!

  • @ennykraft
    @ennykraft Před 9 měsíci +1

    So far I can't see anything that really excites me but that might change when seeing more advanced examples. The charts alone wouldn't be incentive enough. I'm a graphics designer and often create charts but have found that simple ones everyone understands without a lengthy explanation work best. I certainly wouldn't pay extra for them.

    • @tobiisagoodboy7935
      @tobiisagoodboy7935 Před 9 měsíci

      Ok

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 9 měsíci

      Python is vast and the libraries make it relatively easy to get started with. If you’re already using it then it’s a no brainer. If it’s new to you then there might not be any immediate need.

    • @millerdane
      @millerdane Před 9 měsíci +1

      It depends on how far you can see. Python and the libraries if offers is an absolute game changer here @ennykraft. Look at it this way, Microsoft will not spend the time and development effort to integrate a 3rd Party language into Excel if there wasn't going to be great advantages. The charts is just the tip of the iceberg.