Python in Excel Review: The Good, The Bad, & The Ugly!

Поділитися
Вставка
  • Опубліковано 6 лип 2024
  • Not exactly a snakes on a plane situation, but your spreadsheets are going to get a lot more hissy, thanks to introduction of Python for Excel.
    So, in this video, I take the new "Python for Excel" feature for a test drive and share my thoughts. We are going to look at some practical examples of what you can do with Python in Excel, how it works, what I like and dislike about this feature and how to learn more about Python. So put on your strongest gumboots and jump in.
    💥 DOWNLOAD FREE PYTHON FOR EXCEL GUIDE
    chandoo.org/wp/download-free-...
    📃 Topics covered in this video:
    What is Python for Excel feature and how to use it?
    Loading your data and building a dataframe in Python
    Basic data analysis with Python in Excel
    Creating a pivot table with Python
    Libraries used by Excel Python (Pandas, Seaborn etc.)
    What happens when there is an error or problem
    Behind scenes - how your python code runs
    Creating a chart with Python in Excel (using Seaborn library)
    3 problems with Excel's python implementation
    Resources to learn how to code with Python
    ⏱ Timestamps:
    ==============
    0:00 - Introduction to Python in Excel
    0:45 - Loading your data to Python and creating a dataframe
    2:44 - Data analysis with Python in Excel
    4:32 - Creating a pivot report with Python (groupby operation)
    6:08 - Data Changes and Errors
    7:16 - Data Visualization with Seaborn in Excel
    8:43 - The good & bad of Python in Excel
    10:26 - Excel python is not full python!
    11:15 - Licensing of Python is going to be a pain
    12:00 - Too many languages in Excel
    13:02 - Next steps - how to learn Python properly
    ~ R E S O U R C E S ~
    📘 Python for Excel - FREE BOOK:
    chandoo.org/wp/download-free-...
    💻 Get Office 365:
    Use my Amazon link to get Office and support the channel.
    amzn.to/3sA7DUJ
    📰 Python for Excel - Detailed Introduction + 10 code samples
    chandoo.org/wp/introduction-t...
    👨‍💻 Learn to code with Python (3 simple projects)
    Article + Code: chandoo.org/wp/python-for-exc...
    Video: • Python for Absolute Be...
    📺 Python vs. VBA - Which is better?
    • VBA vs. Python - Which...
    🐼 Using Pandas Library - 10 examples
    • Learn how to use PANDA...
    ~
    #python #excel
    My for loop in python doesn't want to run any more.
    It just needs some space. 🤣
  • Наука та технологія

КОМЕНТАРІ • 140

  • @chandoo_
    @chandoo_  10 місяців тому +15

    💥 Get my FREE Python for Excel book 👉 chandoo.org/wp/download-free-python-for-excel-book/

  • @stopthink9000
    @stopthink9000 10 місяців тому +7

    Chandoo, you have THE BEST Excel channel on UA-cam!! So clearly explained, no marketing fluff, real world point of views. So rare these days and immensely valuable!! Keep up the awesome work!!

  • @pravinshingadia7337
    @pravinshingadia7337 10 місяців тому +19

    Your videos are brilliant Chandoo. You take time to explain both the good and bad of any new introductions and agree that this adds new level of complexity above learning all the other features.

    • @chandoo_
      @chandoo_  10 місяців тому +1

      Thanks for these lovely words :)

  • @aiasaiascon3894
    @aiasaiascon3894 10 місяців тому +2

    One of the most Honest and Valuable review and opinion on the new features of Excel, because not everything that shines, is gold !

  • @venkatatalatam3740
    @venkatatalatam3740 10 місяців тому +4

    Thanks you! you've made complex tasks feel accessible! Mr. Chandoo

  • @piyushnautiyal6271
    @piyushnautiyal6271 10 місяців тому +4

    Very excited to use python in Excel.. thanks chandoo for the amazing video lecture on this topic 👍👍

  • @pup1407
    @pup1407 10 місяців тому +6

    I learnt Excel from you back in 2010. Your passion for this is still the same. More respect and power to you Chandoo Sir !

    • @chandoo_
      @chandoo_  10 місяців тому

      Wow.. always a pleasure to (re)connect with long-time fans such as yourself. More power to you ⚡

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

      Same here. Got almost all my excel and data skills from him

  • @mssankararaman
    @mssankararaman 10 місяців тому

    Brilliant Chandoo. Thank you! Covers all aspects an enthusiast would love to know.
    Big fan btw.

  • @davidfelipepenaguardiola1177
    @davidfelipepenaguardiola1177 10 місяців тому +6

    Thanks so much for this absolutely usefull video, Mr. Chandoo

  • @TwinAna
    @TwinAna 10 місяців тому

    Wow! Enlightened! thank you so much chandoo....🤗

  • @llal-India
    @llal-India 5 місяців тому

    Lovely! seeing chandoo in years and he is awesome as always.

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

    Thank you Chandoo! I always follow your videos and I want to say that you are amongst the best instructors for Excel and beyond.

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

      You are most welcome

  • @maheshsonwane8614
    @maheshsonwane8614 10 місяців тому +4

    Thank you! Your content is very useful, as always

  • @spilledgraphics
    @spilledgraphics 10 місяців тому +2

    added to the playlist, yes!!!

  • @dheerajpatel5906
    @dheerajpatel5906 10 місяців тому +3

    Thankyou Chandoo for the amazing information. Helping a lot of people like me in our daily tasks.❤

    • @chandoo_
      @chandoo_  10 місяців тому

      My pleasure 😊

  • @barttitulaerexcelbart9400
    @barttitulaerexcelbart9400 10 місяців тому +1

    Thanks Chandoo, I saw a few video's about the new Python, but you were also giving con's. That is very good! Sometimes we do not realize how much the scope of Excel has widened. see min 12.30. Very good video!!

    • @chandoo_
      @chandoo_  10 місяців тому

      Glad it was helpful!

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

    Thank you. I think you saved me a lot of time. I've been trying to decide on the right language to build myself some tools for work. I've been using Power Query M, but it hasn't been the right fit for the job. The tools need to be portable and M hasn't been great for that. The tools also need input from the user depending on what is in the data. There are several other challenges I found with using M for my tools. I know I could build my tools in VBA and it would resolve the challenges I faced in M, but I didn't want to build my tools in a dying language if there's a better new way. I thought Python in Excel might be the way or maybe the Javascript library, but ultimately it seems VBA will still be the answer (weather it's dying or not). Seeing this video was the tipping point on the decision. I'm glad I didn't put hours into exploring Python in Excel at this stage. Thanks again.

  • @fokhrulislam2633
    @fokhrulislam2633 10 місяців тому

    Thank you for such an honest review. I totally agree with you.

  • @sairamadaboina8257
    @sairamadaboina8257 6 місяців тому +1

    Thank you Sir, your explanation was very effective, please upload more and more new trending courses.

  • @arbazahmad7177
    @arbazahmad7177 10 місяців тому

    Appreciate 🎉 Chandoo... excellent explanation about python....

  • @tw9535
    @tw9535 10 місяців тому +1

    Wow.
    1. Cloud based only
    1a. Slow
    1b. Nothing is private
    2. Subscription based pricing
    3. Not the full power of Python ecosystem
    Python, running on your local machine and at full strength, can already get access to that local data and via installed libraries already do all of the data analysis and reporting.
    And more. At full strength. Locally. For free. Excel or Libreoffice.
    Microsoft is so lucky so many people are dependent on Excel, for whatever reasons.
    The only advantage to this is letting Microsoft deal with keeping Python and third-parties up to date with no version conflicts. That is certainly worth _something_ , but not even close to balancing out the negatives.
    Thank you for this great video! Excellent presentation. Subscribed.

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

    Many thanks for this informative video, Chandoo. Very clearly explained.

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

    Thanks so much!! Really appreciate the video and the free pdf. 😊😊

  • @chrism9037
    @chrism9037 10 місяців тому +3

    Thanks Chandoo! Looking forward to experimenting with Python.

    • @chandoo_
      @chandoo_  10 місяців тому +1

      All the best Chris. Do let us know how your Python experiments are going.

  • @joseescobar9031
    @joseescobar9031 10 місяців тому

    Thankyou Mr. Chandoo.

  • @Danny-ex3tj
    @Danny-ex3tj 10 місяців тому +3

    8:10 Right click on the image > Picture in Cell > Create Reference
    Alternative way instead of merging, Also...incase you need to paste into another sheet

  • @soliver111
    @soliver111 2 місяці тому

    Very impressive support material. Thank you

  • @yuruaribondanese8743
    @yuruaribondanese8743 10 місяців тому

    Thanks again professor. Good to know that.

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

    This is going to be a game changer for Traders.... Unbelievable algos can be written now...

  • @sundertalreja7208
    @sundertalreja7208 10 місяців тому

    Happy Teacher's day, your learning have helped me grow immensely. 🙏

  • @Jamesmichael312
    @Jamesmichael312 10 місяців тому

    Thank you so much. Happy teacher's day.. 🙏🙏

  • @dv7299
    @dv7299 10 місяців тому

    Amazing video ❤

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

    Great video as always!

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

    Chandoo hope you are doing well. I just want to inform you that you are one the best teachers. Oh i almost forgot to mention that you are funny and that spices up.

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

      😍 Thanks for that lovely message.

  • @andrewdove342
    @andrewdove342 10 місяців тому

    Thanks Chandoo

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

    The key advantage for me as someone who switches between excel and Python/Pandas, is that sometimes I don't know where I want to go with my data. Being able to create intermediate dataframes and see them in excel, before having that lightbulb moment, is something that I struggle with when working in VSCode. Holding a many step dataframe sequence in your head as you work towards a solution is tough. This may be a good way to deal with that. I look forward to trying it out.
    Nice video.

  • @TomlynAdvisors
    @TomlynAdvisors 10 місяців тому +14

    Would be good to first being with a high level overview of what python is and the benefits of using it. This way it will make better sense for students to follow, rationalize, and understand the video.

    • @chandoo_
      @chandoo_  10 місяців тому +8

      Thanks for the suggestion @Tomlyn... I do have a detailed Python video to help you with this. See ua-cam.com/video/uoC48wrJ-yM/v-deo.html

  • @unnikrishnansanthosh
    @unnikrishnansanthosh 10 місяців тому

    well explained, especially the good and bad ones

  • @JavedAnsari-vba
    @JavedAnsari-vba 6 місяців тому

    Thanks Sir, it is one great helpful video

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

    Bahaha I was just clicking like at the exact moment your rubber ducky first squeaked, and for a moment I thought UA-cam had sound effects 😂

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

      That is GREAT :)

  • @sammayekar2972
    @sammayekar2972 10 місяців тому

    Woah 😮 super super ✨

  • @keithmason1485
    @keithmason1485 10 місяців тому

    Would love it if you could detach the formula bar. Considering how many lines can be in python code that would be really helpful.

  • @bhushansangle9425
    @bhushansangle9425 10 місяців тому

    Interesting 😎

  • @canirmalchoudhary8173
    @canirmalchoudhary8173 10 місяців тому

    I did not even adapted to office script because we want dynamic automation not absolute automation. So there will be some excel feature will be underutilized. Because I see people are still new to Power Query even after 12 years of implementation.
    But yeah I am happy that you started to lean python in very recent past.

  • @kristopherambrose4748
    @kristopherambrose4748 10 місяців тому +1

    Дякую за ваші відео.)

  • @drashar841
    @drashar841 10 місяців тому

    Hi Chandoo! All your tutorials are excellent! Can you make another video about extracting data from websites and ti upload in excel. Thanks.

    • @chandoo_
      @chandoo_  10 місяців тому +1

      You are welcome. I have a few on webscraping. Check this playlist - ua-cam.com/play/PLmejDGrsgFyCPqKERr-anrRZAdeKYhoxZ.html

  • @mamalik1088
    @mamalik1088 10 місяців тому

    Nice again SIR

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

    As someone who plays around with Python I was excited to see it coming to Excel. However, seeing the whole Microsoft Cloud requirement is a real disappointment. Having people temporarily without Internet access not able to look at their spreadsheets is unacceptable. It's frustrating when you consider that Python is free and you can run it on pretty much any platform, but Microsoft (of whom I am usually a big fan) have decide to implement it in a less than satisfactory way, just so that they can monetize it! You're the first person I have seen cover this topic and include the downsides. And for that, you have earnt a subscription! Thank you.

  • @Tony_Montana659
    @Tony_Montana659 10 місяців тому

    Great.

  • @vishal958
    @vishal958 10 місяців тому

    saw this last week in Kenji Explains

  • @jagatkrishna1543
    @jagatkrishna1543 10 місяців тому +2

    Thanks 🙏❤

    • @chandoo_
      @chandoo_  10 місяців тому

      You're welcome 😊

  • @myopinionlaxmamma
    @myopinionlaxmamma 10 місяців тому

    Ok anna😊

  • @taizoondean689
    @taizoondean689 10 місяців тому

    Thank You Sir, please create videos on DAX Language....few more and Happy Teacher's day

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

    hi sir I'm using microsoft2016 i don't see any python in formulas button what is wrong with it thanks

  • @keeniejelcabahug7151
    @keeniejelcabahug7151 10 місяців тому

    Well said. I'm excited to learn this, but that is me being a forever student. However, being able to run if offline is not an option atm. Nonetheless, what do we know about what's to happen in the next months or years, right?

    • @chandoo_
      @chandoo_  10 місяців тому

      That is right. Hopefully, we will have an option to switch run-time to local Python instance.

  • @rishisharma9256
    @rishisharma9256 10 місяців тому

    What about Google Sheet, can we automate the process in it ? Is it more approachable?

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

    Hi sir do data analyst require knowledge of Linux will they ask any question from Linux during interview .Or is it good to have Linux understanding for this data profiles please suggest me ?

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

    Chandoo will there any data analysis tools that are lost if I made a switch to MacOS

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

    Can Python running in the cloud read and write to the local machine?

  • @shinlanten
    @shinlanten 10 місяців тому

    Curious when or even IF R (aka Posit 😩) will be coming to Excel

  • @mehtasanto
    @mehtasanto 2 місяці тому

    Very nice content!! But I'm not able to enable python in Excel 365. In fact there is no inbuilt add-in given.

  • @minecraftmike5193
    @minecraftmike5193 10 місяців тому

    I haven't seen its benefits yet. People praise it, but everything in the video seems doable in Excel, and more simply.

    • @chandoo_
      @chandoo_  10 місяців тому

      The marketing hype is too rose tinted. While this is an exciting turn of events, I am not sure it will catch on so wildly with the way they implemented it.

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

    Thanks for this informative video. im a getting a '#PYTHON!' error. It is an 'unexpected failure'. Does anyone know how to resolve it ?

  • @akibul_islam
    @akibul_islam 10 місяців тому +3

    the python is shown in the formula tab but it is not working in my excel. why?

    • @snackplaylove
      @snackplaylove 10 місяців тому +1

      13:00 should give you all the info

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

    i hope microsoft update the vba , just add some input type like html and it will be great

  • @umairkolsawala2370
    @umairkolsawala2370 10 місяців тому +1

    Sir for Data analysis we should learn python language? Or excel,Power BI, Tableau and SQL is enough... to manage a data?

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

      Please let me know when u find out. I'm also curious

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

    Im struggling to find advantage of Python in Excel...With formulas, pivots, queries, dax, vba...Maybe there is some specialty in 3% of the time that i might use Python in Excel but im trying to figure out for an average analyst what are the benefits...

  • @PhatTony
    @PhatTony 10 місяців тому +1

    Will Python overtake VBA at all? What I mean is do you think they will remove VBA at some point??

    • @stanislasgrare5046
      @stanislasgrare5046 10 місяців тому +1

      absolutely two different things. python is for data science. vba can do wayyyy more things ( access to all office apps, can send email print things, use events etc) .

  • @Apun_hi_bhagvan_hai
    @Apun_hi_bhagvan_hai 10 місяців тому

    Please make a large video on SQL

    • @chandoo_
      @chandoo_  10 місяців тому

      I did.. see here - ua-cam.com/video/l8DCPaHc5TQ/v-deo.html

  • @DarsviniMuniandy
    @DarsviniMuniandy 3 місяці тому

    how to enable python in microsoft excel
    i am using microsoft excel 365

  • @JoeG2324
    @JoeG2324 10 місяців тому

    does code completion work with python in excel?

  • @tomekja3034
    @tomekja3034 10 місяців тому +2

    Biggest pain in ass is that you still have to open excel files. Normally if i want to use python to analyze data, i want it because of i have 20 files with 1000000 rows and it just lags, python in excel doesn't help here

    • @chandoo_
      @chandoo_  10 місяців тому +1

      Of course that is always there. That is why this implementation of Python is not "full" Python.

  • @sakibzamanmohammad8895
    @sakibzamanmohammad8895 10 місяців тому

    Can I use python to fetch the data from my company's MIS portal and use it to link it with powerpivot.

    • @chandoo_
      @chandoo_  10 місяців тому

      You can use Power Query to "fetch" the data and then use Python to analyze. As of now Excel Python can't access any data that is not already in Excel (either physically or in Power Query).

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

    One of my favorite things about using Python is NOT having to open Excel.
    That said, my work is paying for me to take Anaconda's 10-hr, "Python in Excel" workshop.
    I'm hopeful that the integration will just get better from here.

  • @INhumanLAST
    @INhumanLAST 10 місяців тому

    If only excel 365 were not so slow already, I am afraid it will be more heavy

  • @Driving4bangers
    @Driving4bangers 10 місяців тому

    Since Xlookup you should say

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

    what problem does python in excel solve ? i mean why do this in the first place ? please share your thoughts here or any other video ...thanks

  • @Michael-iw3ek
    @Michael-iw3ek 10 місяців тому +1

    they're getting rid of vba??? this might finally motivate me to learn python

    • @chandoo_
      @chandoo_  10 місяців тому +1

      They are not. VBA is here and probably will be for a LOONG time to come.

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

    How to master in excel as beginner

  • @moutazeldeib9481
    @moutazeldeib9481 10 місяців тому

    I can not find Python even as a formula in Excel 365?

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

      Its available only on a special online service of 365

  • @canirmalchoudhary8173
    @canirmalchoudhary8173 10 місяців тому

    This video is quite informative and it's very interesting to know that it uses internet connectivity which undermines the excel calculation capabilities because people still faces some glitches when they work on auto save enabled file. But yeah it's good that Microsoft is adopting new language, God knows we may get tableu also in future

    • @chandoo_
      @chandoo_  10 місяців тому

      hmm.. not so sure about Tableau in Excel (unless MSFT buys out Salesforce)

  • @faruksedef
    @faruksedef 10 місяців тому

    07:10 Dial-Up Sound affect is bigger than Excel and Python 😂

    • @chandoo_
      @chandoo_  10 місяців тому +1

      😂 Couldn't resist as I grew up with that.

  • @irf7aan
    @irf7aan 10 місяців тому

    Why the resource site is not opening ??

    • @chandoo_
      @chandoo_  10 місяців тому

      Try again.. my site was probably too busy.

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

    Microsoft (Like Autocad) Devs think in a very old way of developing. You would think there would be easier steps to uh…make a line or a circle. Some people know how to keep their jobs and manipulate the people paying them. 😅

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

    Machine learning in Excel?

  • @drkesavsarma_singer
    @drkesavsarma_singer 10 місяців тому

    Python raani vallu em cheyali sir mari...

    • @chandoo_
      @chandoo_  10 місяців тому +1

      You can learn it, you can ignore it, you can use something else you already know. They are not replacing anything in Excel with Python. They are just adding the feature.

  • @i_am_Sabhi
    @i_am_Sabhi 10 місяців тому

    This is driving me. nuts() 😂

  • @milindkapadia1425
    @milindkapadia1425 10 місяців тому

    Hi. Chandoo. You forgot to explain how to activate Python in excel.

    • @chandoo_
      @chandoo_  10 місяців тому

      I did mention how to get it. You need to join the beta / insider program and update your office. See this article for more information - chandoo.org/wp/introduction-to-python-in-excel/

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

      ​@@chandoo_does it cost extra money

  • @surajD21
    @surajD21 10 місяців тому

    The day is not far when we will only give command and everything will be on your fingertips...! Just like that😅

  • @amitgurjar3014
    @amitgurjar3014 10 місяців тому

    I hope Microsoft is not planning on buying out PSF.

    • @chandoo_
      @chandoo_  10 місяців тому

      🤷‍♂️ They are investors in many of the tech we already use.

  • @danielgoncalveslima9350
    @danielgoncalveslima9350 10 місяців тому

    Many things for my mind 😢

  • @HairoHeria
    @HairoHeria 10 місяців тому

    I'm more surprised of your beard

    • @chandoo_
      @chandoo_  10 місяців тому

      I am hoping to grow it out until end of the year. Let's see. Might color it dark once I have enough hair.

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

    What security gaps and functional collisions will this unholy matrimony create...?

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

      While it doesn't seem all the bad, I am sure people will discover some weird loopholes in this implementation.

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

      @@chandoo_ mr Chandoo, is there any AI tool that can upload an excel file in it. Or be integrated into excel. And analyze data and produce complex formulas? Thanks a lot for your answer.

  • @luigibru8677
    @luigibru8677 10 місяців тому

    Windows is so greedy

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

    I don't see the use of this in the real world yet. I would rather learn and use Phyton as it is.

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

    It all so use Anaconda...

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

    I am far more concerned with what Microsoft are going to do with said data in their cloud.
    As I already know Python, pandas and how to export that, I really see no value. Likely suited for managers who have heard of Python.

  • @user-fv5xy3ww5q
    @user-fv5xy3ww5q 10 місяців тому

    Sir,
    Please don't get me wrong, I find some kind of disturbance in your voice compared to your previous videos, please check your doctor at once.

    • @chandoo_
      @chandoo_  10 місяців тому

      That is expected as I have braces now.

    • @j3553hh
      @j3553hh 10 місяців тому +1

      @@chandoo_ Looking great with the orthodontics! I had mine redone as an adult as well. Well worth the investment.

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

    Online connection required? Well, that just made this feature utterly useless - I'd rather run python and load the excel sheets myself using pandas without Microsoft listening in.

  • @beenay18
    @beenay18 10 місяців тому +1

    python can only be used to write formulas? You cannot write codes in python to automate excel? no brainer....