Slithering Back In
Generative Object output from Adobe Illustrator

Slithering Back In

I'm finally catching up on the latest editions of my newsletter after a bit of a break. Writing newsletters or any kind of content on a regular frequency requires getting into a rhythm along the way. Additionally, not publishing newsletters for a period of time makes this rhythm even harder to get back into. I try to share useful insights in every edition, so there's quite of bit of work that I do behind the scenes to select the content to include and to do additional research on these selected discussions.

That's not to say that I haven't been writing over this time period. In fact, I've been writing quite a lot. Whenever I record a course for LinkedIn Learning for example, I create an outline for the entire course and the videos it entails. Then, within each video, I outline the technical steps and descriptions that I want to go along with each step. I then write out word-for-word scripts that correspond to my actions that I'm recording on the screen.

Between two new courses and weekly videos for three quarters of the year for my ongoing serial course, this adds up to a lot of writing along the way. Here's what these new courses entail!

Python in Excel: Data Outputs in Custom Algorithms and Visualizations

Excel is a mainstay of the business world. It's almost universally on computers around the world serving as the models, reports, and analyses that run the business world.

Conversely, Python is one of the world's most popular programming languages. Check out the TIOBE 's rankings over the last year as an example of proof of its domination in the developer space.

TIOBE programming language index

Source: https://www.tiobe.com/tiobe-index/

As standalone processes, there's not necessarily a lot of overlap between these two tools. Excel is an ad hoc tool that lets us easily input data and analyze it, even on a granular cell-by-cell level. The Excel application has limitations, like the number of calculations it stably supports within a workbook. These constraints, however, also make it a powerful ad hoc analysis tool because it does force us to limit the sizes of the models we configure within Excel.

Python, on the other hand, is a programming language that enables us to build large scalable models (like pipelines and automated procedures). We can also use it to run algorithms (like AI models), which can include logistic regression, clustering, and anomaly detection, as well as to create custom visualizations like dendrograms (for hierarchical clustering models). These are also examples of potential ad hoc models and visuals that Excel doesn't otherwise support in its own built-in functions and chart capabilities.

Microsoft recently debuted the Python in Excel functionality, which enables us to write Python code directly in Excel using the PY function within our Excel cell formulas. It's currently in beta mode, but it will hopefully be generally available soon. Without this functionality, using Python for ad hoc analysis can become a tedious because it can take quite a bit of work to configure the data frameworks to use in these models and visuals.

Excel as a Python sandbox environment

I think of the Python in Excel functionality a sandbox environment for working with Python code. It provides the tangible flexibility of working with Python notebooks (*.ipynb files) as well as the potential for easily connecting to data sources through ETL frameworks in Power Query, XMLA endpoints, and Power BI Datasets (now known as Semantic models). Writing Python code in Excel lets us bridge the gaps between applications that might otherwise require a lot of work and potentially become quite tedious to set up. For example, it allows us to easily:

  1. Connect to an API and transform the data into a data table.
  2. Load the data table directly into Excel.
  3. Use this Excel data directly in Python code to run an algorithm on it.
  4. Visualize the outputs of this algorithm in a custom visual created with Python code.

Python in Excel: Data Outputs in Custom Algorithms and Visualizations (course cover image)

Course link: https://www.dhirubhai.net/learning/python-in-excel-data-outputs-in-custom-data-visualizations-and-algorithms

My latest LinkedIn Learning course focuses on how to use this Python in Excel sandbox environment for data modeling to create neat AI models and visuals like:

  • Logistic regression
  • KMeans clustering
  • Hierarchical clustering
  • Dendrograms
  • Anomaly detection

Power BI Data Methods

Earlier this year, I created a completely new course update for the Power BI Data Methods course that was first published in the LinkedIn Learning library in 2019. In order to even create Power BI models, we need to get the data into our model by through various data methods that I focus on in this course.

Want to be good at Power BI? Learn Power Query! Want to be good at Excel? Again learn Power Query.

We can use Power Query to build ETL frameworks to load the data into our model. This data can come from databases, flat files, and various online sources. We can then transform the data connection into a useable data table to load into our Power BI model. I explore how to build these key ETL frameworks with this Power BI Data Methods course!

Power BI Data Methods course (course cover image)

Course link: https://www.dhirubhai.net/learning/power-bi-data-methods-23487089

Some of my favorite concepts from this course include:

  • Connecting to an API and transforming an XML or JSON data structure into a data table.
  • Connecting to files in a folder and combining it together into a single data table.
  • Unpivoting and pivoting data tables directly.
  • Creating a contiguous calendar dates table.

Up Next

Tomorrow (Tuesday September 10th) at 10 AM Mountain Time/11 AM Central Time, I'm going to be doing a LinkedIn Live session with another LinkedIn Learning instructor, Barton Poulson, PhD on how to make data work within Power BI. We always have great conversations about data between ourselves and we're excited to invite others to be part of this interactive discussion as well!

LinkedIn Live session cover image

Event link: https://www.dhirubhai.net/events/powerbianddatawork-withhelenwal7237516357850800129/theater/

Hope to see you at the live event tomorrow, otherwise a recording will be available here on LinkedIn afterwards.

-HW

Jeanne Soderberg

Healthcare Professional | Educator | Science Advocate

1 个月

Hi Helen - With no Curious emoji to select, I'm posting to say that I'm curious about this series and will be checking these courses out! Thanks for translating how this tool can be used at the desktop ??

回复

sounds like you've got some valuable content for your audience! how's the response been so far? Helen Wall

回复

要查看或添加评论,请登录

Helen Wall的更多文章

  • Releasing Snakes into the Wild

    Releasing Snakes into the Wild

    This week brings big news in both the Excel and Python communities! Python in Excel is now generally available as of…

    4 条评论
  • The Modern Updates

    The Modern Updates

    As I was perusing potential updates for my home recently, I started to think about how the definition of "modern" will…

  • WINDOWs of the World

    WINDOWs of the World

    It's really hard to get very far in data science without knowing SQL. Within SQL there are different levels of…

    3 条评论
  • Straightening Things Out

    Straightening Things Out

    When I took linear algebra in college, my favorite part of the class was the end of it. The course was highly…

    2 条评论
  • SWITCH It Up

    SWITCH It Up

    In order to master managing data models, learning how to leverage conditional logic is a must. We see conditional logic…

    3 条评论
  • Seeing Dots

    Seeing Dots

    I use data visualizations not only to communicate data models to end-users who are stakeholders, but I also personally…

    5 条评论
  • The Digital Rolodex

    The Digital Rolodex

    A few months ago, I was doing my civic duty as part of a potential jury panel. While we were waiting for the court to…

    4 条评论
  • Making the "Old" New

    Making the "Old" New

    I talk with a lot of people about whether their organization uses custom visuals in Power BI. Their answers often vary…

    4 条评论
  • Patching Holes

    Patching Holes

    While I would love to live in a world where all data is perfect, I know that’s not reality. And not even close to…

    5 条评论
  • The Importance of Scales

    The Importance of Scales

    The sheer size and impact of natural disasters are often unfathomable. Whether it's a volcano eruption, a hurricane, or…

    1 条评论

社区洞察

其他会员也浏览了