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

Поділитися
Вставка
  • Опубліковано 12 чер 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

КОМЕНТАРІ • 495

  • @MegaTrickykid
    @MegaTrickykid 9 місяців тому +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 9 місяців тому +4

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

  • @benjaminnzioki8815
    @benjaminnzioki8815 9 місяців тому +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  9 місяців тому +2

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

  • @davidbristoll195
    @davidbristoll195 9 місяців тому +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  9 місяців тому

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

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

    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 9 місяців тому +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  9 місяців тому +2

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

    • @Flylikea
      @Flylikea 9 місяців тому +1

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

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

      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 9 місяців тому

      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 9 місяців тому

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

  • @TopBam
    @TopBam 9 місяців тому +5

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

  • @ziggle314
    @ziggle314 9 місяців тому +5

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

  • @alangrinsteinner4033
    @alangrinsteinner4033 9 місяців тому +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 9 місяців тому

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

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

    This is phenomenal work! Thanks Mynda!

  • @sc100200090
    @sc100200090 9 місяців тому +1

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

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  9 місяців тому +1

      😁 sure is! Glad you liked it 🙏

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

      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 9 місяців тому

    This is so valuable! thank you so much! 🙏

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

    Mynda, thank you again, my best excel teacher!

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

    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 9 місяців тому

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

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

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

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

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

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

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

  • @leeotzu
    @leeotzu 9 місяців тому +1

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

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

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

  • @yassirkhalid5376
    @yassirkhalid5376 9 місяців тому +1

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

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

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

  • @mmohsin_92
    @mmohsin_92 9 місяців тому +1

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

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

    Thanks Mynda. You rocks 🙏🙏🙏🙏

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

    Great tutorial, thank you so much!! ❤

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

    Thank you Mynda! Fantastic!😊

  • @Terracotta-warriors_Sea
    @Terracotta-warriors_Sea 9 місяців тому

    Thank you for this wonderful feature!

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

    Amazing, thanks for the quick reference.

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

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

  • @Khan-mc3gi
    @Khan-mc3gi 9 місяців тому +1

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

  • @mogarrett3045
    @mogarrett3045 9 місяців тому +1

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

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

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

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

    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 9 місяців тому

    Thank you for a great intro to Python in Excel

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

    Thank you so much. Every video is valuable.

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

    Great material. 🚀🚀

  • @jenbac.s1858
    @jenbac.s1858 9 місяців тому

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

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

    SO EXCITED!!!

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

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

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

    Great explanation, thanks!

  • @KlinAprimora
    @KlinAprimora 9 місяців тому +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 9 місяців тому

    Thank you for a great explanation

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

    Simply Loving it. Excelthonic!

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

    Wonderful. Thanks for the video.

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

    This is a definite game changer 🙌👏🙏👌

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

    how exciting, something new

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

    Great info !!!

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

    Super Awesome!

  • @Abu.Al_Mortaja
    @Abu.Al_Mortaja 9 місяців тому

    Thank you Mynda🌹

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

    I love your videos

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

    good video !
    yes again

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

    Exciting!

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

    Thanks for share, very useful 🙂

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

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

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

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

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

    Awesome Teaching…

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

    wowser it will change data world thanks!

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

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

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

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

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

    Awesome information madam, I am really happy with this information

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

    Magnificent 👍

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

    very very excited

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

    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  9 місяців тому

      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 9 місяців тому

    Incredible👏

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  9 місяців тому +1

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

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

    You are the best

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

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

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

      Great to hear you’ll be making use of Python in Excel 😊

  • @user-cg9ns8id3x
    @user-cg9ns8id3x 9 місяців тому

    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 9 місяців тому

    Awesome video

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

    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 9 місяців тому

    Amazing!!!

  • @tuancuong37
    @tuancuong37 9 місяців тому +1

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

  • @localyaar.bf-tv3603
    @localyaar.bf-tv3603 9 місяців тому

    thanks it's amazing

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

    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 9 місяців тому

    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  9 місяців тому

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

  • @rrrprogram8667
    @rrrprogram8667 9 місяців тому +1

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

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

    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 9 місяців тому

    Well that's rad!

  • @m.bouguerra
    @m.bouguerra 8 місяців тому

    Tu es géniale merci Amenda

  • @chrism9037
    @chrism9037 9 місяців тому +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 9 місяців тому

    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  9 місяців тому

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

  • @andrewcharlesmoss
    @andrewcharlesmoss 9 місяців тому +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  9 місяців тому +1

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

  • @ExcelHechoFacil
    @ExcelHechoFacil 9 місяців тому +2

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

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  9 місяців тому +2

      ¡Muchas gracias!

    • @Fredick.7
      @Fredick.7 9 місяців тому

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

    • @ExcelHechoFacil
      @ExcelHechoFacil 9 місяців тому +1

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

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

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

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

    Again 👏👏👏👏 👍😎

  • @osvaldodipini6930
    @osvaldodipini6930 6 місяців тому

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

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

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

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

      Sure is!

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

      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 9 місяців тому

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

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  9 місяців тому +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 9 місяців тому

    Finally!

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

    This is definitely a trigger to learn some Python.

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

    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  9 місяців тому +2

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

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

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

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

      @@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 9 місяців тому

    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  9 місяців тому +1

      Yes, it can 👍 next week’s video 😉

    • @brianvaddan9987
      @brianvaddan9987 9 місяців тому +1

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

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

    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  8 місяців тому

      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 9 місяців тому

    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  9 місяців тому

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

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

    MS excel is probably the most underrated software product ever built

  • @cedjulemckeever
    @cedjulemckeever 9 місяців тому +1

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

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

      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 9 місяців тому

    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  9 місяців тому

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

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

    Wow!!!

  • @ennykraft
    @ennykraft 9 місяців тому +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 9 місяців тому

      Ok

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

      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 9 місяців тому +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.