

Picture by Writer | Canva
# Introduction
Increase your hand in case you began your knowledge analyst profession in Excel. Yup, me too. Excel is a robust instrument for knowledge evaluation and visualization—and you already know it. Let’s maintain the Excel jokes for an additional article. Nevertheless, regardless of enhancements in dealing with bigger datasets, there’s a degree the place Excel begins to creak below the load.
At this level, you would possibly assume, “Ah, screw Excel, I ought to’ve realized Python.” You continue to can. (Study Python, not screw Excel.) Additionally, making the shift doesn’t imply abandoning Excel. Consider Python as a pure extension of your expertise, mirrored in these steps.


# Step 1: Map Excel Abilities to Python Equivalents
Some Excel expertise are transferable to Python, regardless that it’s a programming language. You possibly can consider it as “Excel with out the grid,” since many capabilities map between the 2 instruments. Listed here are some examples.


Whilst you’ll nonetheless should be taught Python’s syntax and language fundamentals, you’re not ranging from scratch—you already perceive the analytics a part of the job. Now it’s about doing in Python what you already do in Excel.
# Step 2: Study Python Fundamentals
Earlier than you begin coding, familiarize your self with the language fundamentals. I like to recommend beginning with:
- Fundamental syntax
- Variables, knowledge sorts, loops, conditionals
- Lists and dictionaries (they’re much like named ranges or lookup tables)
- Features for reusing code (they’re like reusable formulation in Excel)
Listed here are some assets to get you began:
# Step 3: Set Up Your Surroundings
You don’t want an advanced Python surroundings. If you wish to have it domestically, set up Anaconda. It comes with Python and the important thing libraries you’ll want at the start (pandas, NumPy, and Matplotlib). It additionally contains Jupyter Notebooks; consider it as a workbook the place you write code and textual content notes.
You may make it even simpler. If in case you have a Google account, you should utilize Colab. It’s Google’s model of the Jupyter Pocket book and comes with much more libraries put in than Anaconda.
# Step 4: Begin with Pandas
Python is legendary for its ecosystem, wealthy with libraries that reach its capabilities. Considered one of them is pandas, a library designed for knowledge evaluation and manipulation. It’s so widespread in knowledge evaluation that it’s virtually inseparable from Python itself; when you begin studying Python, you additionally be taught pandas. Some issues you need to apply are:
- Creating DataFrames from Excel or CSV recordsdata
- Filtering, sorting, merging, aggregating
- Replicating your Excel workflows: pivot tables, lookups, conditional calculations
On the whole, attempt to translate every little thing you do in Excel into Python code.
When you get the dangle of pandas, begin utilizing NumPy, a library for numerical computing that underpins pandas.
# Step 5: Follow on Actual Information
The quickest strategy to be taught is by doing. There are a number of choices. You possibly can clear up analytical questions on StrataScratch and LeetCode and apply on actual interview questions. You get the information and the issue to unravel; all it’s important to do is write the answer in Python.
An alternative choice is to make use of out there datasets and clear up the issues that you simply consider. Some nice dataset sources are Kaggle Datasets, knowledge.gov, and Superior Public Datasets.
For those who want some options for issues to unravel, begin with:
- Information cleansing (eradicating duplicates, standardizing dates, filling lacking values)
- Constructing easy experiences you’d usually do in Excel
# Step 6: Begin Visualizing Information
The following step is to start out visualizing your analyses. An ideal begin is to recreate in Python the charts you have already got in Excel. The 2 hottest knowledge visualization Python libraries are:
- Matplotlib – for fundamental plots (line, bar, scatter)
- seaborn – for superior visualizations with minimal code
# Step 7: Mix Excel and Python
You don’t have to abandon Excel. Even in case you wished to, you couldn’t as a result of most stakeholders round you might be wedded to Excel.
The best mixture is to make use of openpyxl or xlwings to put in writing again into Excel recordsdata from Python. In different phrases, Python does the heavy lifting within the background, however the last output lands in Excel for stakeholders. No have to cease there; at the moment, Microsoft is testing the new COPILOT() perform that lets you use AI in Excel.
# Conclusion
As you possibly can see, transitioning from Excel to Python doesn’t imply you’re ranging from zero. For those who do knowledge evaluation in Excel, that already means you might have some basic data. You recognize your knowledge evaluation; the one factor is to make it extra technically subtle by transferring that data to a programming language.
Comply with the steps on this article, and your transition will probably be smoother than you assume.
Nate Rosidi is a knowledge scientist and in product technique. He is additionally an adjunct professor instructing analytics, and is the founding father of StrataScratch, a platform serving to knowledge scientists put together for his or her interviews with actual interview questions from prime corporations. Nate writes on the most recent traits within the profession market, offers interview recommendation, shares knowledge science initiatives, and covers every little thing SQL.