Excel in Bi

Excel in Bi

  • Home
  • Courses
  • Webinars
  • Articles
Log in

Your cart is currently empty!

Is Python good for data transformation?

Hi I am Ramon from Excel in Bi, I would give you my perspective in how Python helped me to start on my data journey.

Definitely yes, Python is the most efficient tool I’ve found so far for transforming data. Here’s how I started learning and using it:

1. I faced a problem that Excel could no longer handle.

2. I began researching tools that could help me transform data more efficiently.

3. I tested Excel Macros with VBA, but they didn’t work well on my Mac.

4. I tried Power BI to transform data in a table—it worked, but felt limited and didn’t suit my needs.

5. Then I discovered Python: a cross-platform language and tool that solved my Excel-related challenges.

⸻

At the time, I was working with a large Excel file containing stock market data, symbols like Tesla, Microsoft, etc. My goal was to forecast how these stocks would perform in the future. But just building a forecast for a single stock took me days. And every day, I had to repeat the same manual process. It simply wasn’t a scalable way to build an investment plan.

Then I discovered that Python is widely used for stock market forecasting. When I saw that everything I had spent a full day doing in Excel could be reduced to fewer than 50 lines of Python code, I realised I had been approaching the problem the wrong way.

Here’s an example:

Below is a simple Python script that forecasts stock performance for a company like Microsoft. The entire process takes about 30 seconds—or even less—to run.

import yfinance as yf
import pandas as pd
from prophet import Prophet
import matplotlib.pyplot as plt

# Step 1: Download historical stock data
ticker = 'MSFT'
df = yf.download(ticker, start='2020-01-01', end='2024-12-31')

# Step 2: Prepare data for Prophet
df = df.reset_index()
df = df[['Date', 'Close']]
df.columns = ['ds', 'y']  # Prophet expects columns to be named 'ds' (date) and 'y' (value)

# Step 3: Create and fit the model
model = Prophet(daily_seasonality=True)
model.fit(df)

# Step 4: Make future dataframe for 90 days
future = model.make_future_dataframe(periods=90)

# Step 5: Forecast
forecast = model.predict(future)

# Step 6: Plot the forecast
model.plot(forecast)
plt.title(f"{ticker} Stock Price Forecast")
plt.xlabel("Date")
plt.ylabel("Price (USD)")
plt.show()

That blew my mind.

From there, I kept pushing the limits:

First 5 stock symbols, then hundreds, then thousands daily. Eventually, I had to laugh—I wasn’t even investing yet! I was just obsessed with building better forecasts.

⸻

The best part? I learned the basics of Python without even realising it, thanks to Stack Overflow, GitHub, and ChatGPT. The learning curve was surprisingly smooth with the right support.

Now, as a Data Specialist and Instructor, Python is my go-to tool for:

• Data transformation

• Automation

• Designing and managing large-scale data ingestion pipelines

• Building analytics systems that generate real business insights

⸻

There are best practices and frameworks that will help you succeed in your role as a Data Engineer or Analyst using Python. At Excel in BI, we teach you how to implement these systems and build powerful, scalable data pipelines.

👉 Check out our [Python for Data Transformation course], or join one of our free webinars to unlock the superpowers of Python and other amazing tools for your data journey.

Categories: Python Tips
Ramon Zamorano

Latest Posts

  • Why Data Analytics is an important skill to know today? No matter Your role.
  • What is the true value of Data?
  • How Data makes You more Proactive instead of Reactive
  • Why is star schema preferred in Power BI?
  • Will AI Replace Data Analysts?

Categories

  • Data Analytics Tips
  • Excel Tips
  • Power Bi Tips
  • Python Tips

Excel in Bi

We are empowering businesses with simplified data analytics solutions. We provide tailored Data Workshops, Masterclasses, and Consultancy to help teams unlock the full potential of their data.

We specialise in simplifying the use of Data

Company

  • Home
  • Courses
  • Free Webinars
  • Articles

Services

  • Data Visualisation Training
  • SQL and Power BI Training
  • Dashboard Development
  • Data Strategy Plans
  • Business Intelligence

Contact Us

contact@excelinbi.com

Book a discovery call

  • Facebook
  • LinkedIn
  • YouTube
  • TikTok

✅ Additional FAQ Suggestions:

1. How long will I have access to the course materials?

You’ll have access to the pre-recorded videos for 6 weeks from the moment you click the “Start” button.
You can buy the course now and choose when to begin — your 6-week access starts only when you’re ready.

Live Q&A sessions are available during the first 4 weeks after you start the course.

2. Is there a certificate of completion?

Yes! Participants who complete the course will receive a certificate, which you can share on LinkedIn or with your employer.

3. What kind of support will I get during the course?

You’ll have access to weekly live Q&A sessions, and you can also email us your questions anytime during the 4-week period.

4. How is this course different from free YouTube tutorials?

Our training is structured, practical, and focused on real-world business problems. You get guidance, feedback, and live support, which you don’t get from random tutorials.

5. Can I take the course if I’m working full-time?

Absolutely. The course is designed with flexibility in mind. You can watch the pre-recorded sessions at your own pace, and attend the weekly Q&A at a time that suits you.

6. What industries is this course relevant for?

Our bootcamp is ideal for professionals in finance, operations, marketing, HR, and any field where data is used to improve performance and make better decisions.

7. Is the course beginner friendly?

Yes. We start from the basics and gradually move to intermediate topics, with hands-on examples and easy-to-follow steps.

8. Can my employer pay for the course?

Yes, we can issue an invoice if your employer is covering the cost. Just contact us for details at contact@excelinbi.com

Time Zones alternatives for Live Q&A Sessions:

Region City Option 1 Option 2
New Zealand Auckland Wed, 6:00–7:00 PM Fri, 7:00–8:00 AM
Australia (AEST) Sydney / Brisbane Wed, 4:00–5:00 PM Fri, 5:00–6:00 AM
Singapore Singapore Wed, 2:00–3:00 PM Fri, 3:00–4:00 AM
India (IST) Mumbai Wed, 11:30 AM–12:30 PM Fri, 12:30–1:30 AM
UK (BST) London Wed, 7:00–8:00 AM Thu, 8:00–9:00 PM
USA (ET) New York Tue, 2:00–3:00 AM Thu, 3:00–4:00 PM
USA (PT) Los Angeles Tue, 11:00 PM–12:00 AM (Wed) Thu, 12:00–1:00 PM
Chile (CLT) Santiago Tue, 1:00–2:00 AM Thu, 2:00–3:00 PM