Python in Excel Makes Power Query a MUST-HAVE in 2024!

Поділитися
Вставка
  • Опубліковано 8 вер 2024

КОМЕНТАРІ • 67

  • @DaveOnData
    @DaveOnData  6 місяців тому +3

    Stuck waiting for Microsoft to grant you access to Python in Excel? Don't wait! Here's how you can start building skills NOW: ua-cam.com/video/0iV4FtpSriY/v-deo.html

  • @oscarpeters2372
    @oscarpeters2372 6 місяців тому +2

    Hey David, love the step-by-step explanation, definitely something I will be investigating more.
    One tip: I see you growing and shrinking the formula area in the formula bar. Therre is a shortcut for that: Ctrl+Shift+U.
    Once you have set the height you need using the mouse, using the shortcut will shrink it to the original single line size; using it again will re-grow it to what you set it previously.

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

      Glad you are liking the content and thanks for the tip!

  • @michaelt312
    @michaelt312 6 місяців тому +11

    I absolutely LOVE Power Query and that is 95%+ of my income.

    • @DaveOnData
      @DaveOnData  6 місяців тому +5

      It's a crying shame that Excel users like you are such a small minority. The silver lining is that it provides folks like you with a business opportunity.

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

      @@DaveOnData, it is hilarious when I talk to someone at a gig that uses PBI and they ask what PQ is when I bring it up.
      A lot of old school leadership in Healthcare still want Excel reports and not PBI. But I'll keep grabbing those paychecks.

    • @slezakmichal
      @slezakmichal 6 місяців тому +3

      I’ve been using PQ for 3y. Not for analytics but for building some tools for my people. It’s sad when you hear that new tender is open for a piece of software…and solution is quick and Excel is able do it.

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

      @@slezakmichal, I love it even better when discussing what you can do during a meeting and someone from the PBI team says that their IT group doesn't allow Macros. And yes, no macro is a typical policy in hospitals. If allowed, it is in folders segregated from patient data.

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

      How does PQ do with large data sets?

  • @jayraldtajale8121
    @jayraldtajale8121 5 місяців тому +2

    Thanks for sharing this. But I think I might stick with Power BI for now. But it’s nice to finally have an idea how to use python in excel.

    • @DaveOnData
      @DaveOnData  5 місяців тому

      As a Power BI user, you've had access to Python and R for quite a while.

  • @peteolesen265
    @peteolesen265 5 місяців тому +1

    Dave, Excellent video and very helpful. I am using Powerquery quite a bit now and find it to be a useful tool, along with PowerBi. Python does some things that Powerbi or Excel can't do or can't do well. Keep em' coming.

    • @DaveOnData
      @DaveOnData  5 місяців тому

      Thank you for the feedback! I am glad you liked the video.

  • @pkrempf
    @pkrempf 6 місяців тому +3

    Thank you for the demo : really cool !

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

      You are most welcome! Glad you enjoyed the video.

  • @RedCloudServices
    @RedCloudServices 6 місяців тому +3

    PRIEST!! 🤟🏻 I wish the opposite was possible, to transform with Power Query then load to PostgreSQL via excel.

    • @DaveOnData
      @DaveOnData  6 місяців тому +2

      Most of the DBAs I've worked with over the years wouldn't allow that! 🤣
      However, I agree with you. That would be a great feature.

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

      @@DaveOnData yeah we get a csv file monthly and manually load it into postgresql as backend for our Hasura api. pgadmin works fine just not automated. why Hasura lacks a basic csv import seems odd. MS Power automate seems plausible

  • @engineeringinspectionsirel1385
    @engineeringinspectionsirel1385 6 місяців тому +2

    Hi David. You've got a new subscriber and fan. Cheers .

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

      Woohoo! I hope you find my other videos useful as well.

  • @PK-cj1pg
    @PK-cj1pg 5 місяців тому +2

    Excellence!

    • @DaveOnData
      @DaveOnData  5 місяців тому

      Thank you! I am glad you enjoyed the video.

  • @rpopecpa
    @rpopecpa 6 місяців тому +2

    David, thanks for this video! I was waiting to see the connection between SQL and Python. Next, I am waiting to see the benefits of using Python. So far, I don't see the advantage.

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

      Python in Excel is designed for professionals who want to have more impact using analytics, especially more advanced analytics techniques. This rules out most Excel users since they don't really analyze data-they mostly report on the "what."
      You may find this video of mine comparing logistic regression analysis using the Solver vs Python in Excel interesting: ua-cam.com/video/ekT4Dx0D0qY/v-deo.html

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

      Thanks@@DaveOnData! Python looks extremely powerful. I will continue to watch and learn.

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

      Copy that. If I may be so bold, you may enjoy this video that combines clustering with a machine learning predictive model: ua-cam.com/video/O479uWMe_F0/v-deo.html

  • @hamidsajjadi6783
    @hamidsajjadi6783 6 місяців тому +2

    Thanks for your video. But you know, i am really wondering what is the advantage of creating charts using phyton over creating using pivot chart. I think using pivot chart along side with many slicers and defining measures is by far more flexible.

    • @DaveOnData
      @DaveOnData  6 місяців тому +4

      While Python in Excel allows you to easily create visualizations that are not possible using Excel charts, it's real power is providing access to analytics not available in Excel.

  • @spilledgraphics
    @spilledgraphics 5 місяців тому +1

    Hi David, have you hit the limits on Python in Excel when it comes to loading data to the cloud? If so, how big the dataset was? Amazing video mate!

    • @DaveOnData
      @DaveOnData  5 місяців тому

      Great question! Most real-world client datasets I work with are "Excel size" and cause no issues with Python in Excel for uploading. I am, however, encountering problems with processing timeouts (e.g., permutation importance of ML models). I will be providing feedback to Microsoft on these processing timeout scenarios.

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

    Thanks for Sharing

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

      My pleasure! I hope you found the content useful.

  • @perrinms
    @perrinms 2 місяці тому +1

    Very helpful video! Can you say if the 100MB data limit is per python query or is that the total for the whole workbook's python code?

    • @DaveOnData
      @DaveOnData  2 місяці тому +1

      I just checked with my contact at Microsoft. It should be 100MB per query.

  • @rwno916
    @rwno916 6 місяців тому +2

    Would Python in Excel be useful for trading the furures market (Dow Nasdaq ect.)?

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

      I am not familiar with this space, so I can only answer at a high level.
      Python in Excel expands the types of data analyses you can conduct by a tremendous amount. If there are specific libraries in the Anaconda distribution useful for your problem domain (e.g., scikit-learn and statsmodels), then Python in Excel might be helpful for you.

  • @memolingvo5563
    @memolingvo5563 6 місяців тому +2

    How to install the Python libraries which are missing in the Python for Excel?

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

      At this time, you can only use the vetted libraries provided by Anaconda.

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

      @@DaveOnData Thank you for your response.

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

    This topic isn't even remotely related to my profession. But I love it anyway!

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

      Glad to hear the UA-cam recommendation engine worked out in your case!

  • @victor_wang_1
    @victor_wang_1 6 місяців тому +2

    How does the connection only query refresh? Doesn't a query need to be loaded somewhere to be refreshed if the data is updated?

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

      Executing the Python cell again will pull data from the database.

  • @abdullahtammour
    @abdullahtammour 6 місяців тому +2

    Does power query have the same limitations of 1 million row of data? In case i want only a connection and don’t want to load the data into an excel sheet

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

      Power Query connections are not limited to 1 million rows when not used to load a worksheet. However, they are limited by the computer's resources.

  • @DIGITAL_COOKING
    @DIGITAL_COOKING 3 місяці тому +1

    question: do we need to study power query m code or pandas or both of them ?
    because I mean if we can use pandas in power query why do we just study pandas

    • @DaveOnData
      @DaveOnData  3 місяці тому +1

      @DIGITAL_COOKING-I'm not sure what you mean by "use pandas in power query." Python in Excel is currently designed to have limited functionality (e.g., for Security reasons). At this time, Power Query becomes the primary conduit for feeding data to Python in Excel (e.g., from a SQL Server database). I have some video comparing the various ETL options with Python in Excel:
      SQL vs. Power Query: ua-cam.com/video/jYR9B6Gz5vc/v-deo.html
      Don't Use Python in Excel for Data Wrangling: ua-cam.com/video/rMjtcsmHf9g/v-deo.html

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

      @@DaveOnData ok! , my mistake was thinking that the option of Power BI is present in Excel because in Power BI we can add phyton script in Power query
      maybe you can answer me the same question but for power BI can we rely only on pandas because we can write phyton script or should we study them both the M language and pandas when it comes to data cleaning
      I don't know if my question is clear and sorry for my poor English

  • @MarcelLindner
    @MarcelLindner 6 місяців тому +2

    does python in excel only run with the windows insider program?

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

      Per this Microsoft article, joining the Microsoft 365 Insider Program is required to request and receive access to Python in Excel:
      support.microsoft.com/en-us/office/get-started-with-python-in-excel-a33fbcbe-065b-41d3-82cf-23d05397f53d

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

      @@DaveOnData ah i see. okay thank you for the answer.
      is the python connection stable? reading through this, it all looks like an early test phase that should not be included in an active production.

    • @DaveOnData
      @DaveOnData  5 місяців тому +1

      The former Enterprise Architect in me would caution against the use of any Microsoft Public Preview software for production implementations. Oh, that's also coming from someone that worked at Microsoft for 8 years. 😁

    • @MarcelLindner
      @MarcelLindner 5 місяців тому +1

      @@DaveOnDataokay, that's enough answer for me. :D
      Are there any plans for when Python will be fully integrated into Excel?

    • @DaveOnData
      @DaveOnData  5 місяців тому

      I'm not sure if Microsoft ever plans to do this. There are other Python technologies (e.g., xlwings) that integrate more fully with Excel.

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

    Why doesn’t =py( work for me?

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

      Python in Excel is currently in Public Preview. While it is free right now, you do have to request access from Microsoft to get it. Here's a link to Microsoft's website: support.microsoft.com/en-us/office/get-started-with-python-in-excel-a33fbcbe-065b-41d3-82cf-23d05397f53d
      BTW - You don't have to wait for Microsoft to grant you access to start building your Python skills! Check out my video to learn more: ua-cam.com/video/0iV4FtpSriY/v-deo.html

  • @abdo01386
    @abdo01386 5 місяців тому +1

    The problem is EXEL and acsses are limited .

    • @DaveOnData
      @DaveOnData  5 місяців тому

      I agree that Microsoft could have done a better job granting access to the Python in Excel Public Preview. The good news is you don't have to wait for Microsoft to grant you access to build skills. Check out my video to learn how you can start NOW: ua-cam.com/video/0iV4FtpSriY/v-deo.html

  • @TomaszBI
    @TomaszBI 6 місяців тому +2

    I don't know. PQ is so slow, that even in dataflows and PowerBi it kinda suck. In at time that I have to spend waiting for query to spit out results, I can learn python.😆

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

      I'm assuming here you mean running Python locally. If so, it would be faster typically than PQ.
      However, for many of my clients, running Python locally isn't possible - which is why they are excited by Python in Excel.

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

      Also, as I demonstrate in the video, using PQ as a SQL pass-through is a great option.

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

      @@DaveOnData I agree with SQL part. By Python I meant Pyspark on databricks. I know it's more complicated than PQ, but as I said time wasted on PQ is so immense that you better use it to learn more difficult things that works faster.
      I remember writing VBA that worked few seconds and was doing same thing as PQ that worked 8 minutes.

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

      I see! I would imagine Pyspark on Databricks is quite powerful (I never used it myself). The vast majority of my clients are on traditional RDBMS, with SQL Server being by far the most common.

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

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

      Glad you enjoyed the video!