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

Поделиться
HTML-код
  • Опубликовано: 8 июн 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 8 месяцев назад

    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!

  • @shrikantbadge3978
    @shrikantbadge3978 9 месяцев назад

    Thank you so much. Every video is valuable.

  • @kumarsb
    @kumarsb 9 месяцев назад

    Thank you for a great intro to Python in Excel

  • @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!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  9 месяцев назад

      Great to hear you're excited about Python in Excel 😊

  • @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.

  •  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.

    •  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: ruclips.net/video/Jev5ATXwnOs/видео.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.