Preprocessing Data with NumPy (Udemy.com)
NumPy, ndarrays, Slicing, Random Generators, Importing and Saving Data, Statistics, Data Manipulation, Preprocessing
Created by: 365 Careers
Last updated December 2020
What you will learn
- Arrays.
- The definition of a package/library.
- Installing and Upgrading a package.
- Navigating the documentation.
- A history of NumPy.
- The relationship between arrays and vectors.
- Arrays vs Lists.
- Indexing.
- Assigning values to arrays.
- Elementwise properties and operations.
- Datatypes supported by ndarrays.
- Broadcasting and type casting.
- Running a function or method over a given axis.
- Slicing, Stepwise Slicing, Conditional Slicing
- Dimensionality reduction in arrays.
- Generating arrays full of identical values.
- Generating non-random sequences of data.
- Generating random data with Random Generators.
- Generating random samples from a random probability distribution.
- Importing and exporting data with and from NumPy.
- NPY and NPZ files.
- Maximums and Minimums.
- Percentiles and Quantiles.
- Mean and Variance.
How it compares
Against the other 388 rated Udemy courses in Python on CourseDuck:
- Rating4.6 out of 5higher than 70% of them
- Reviews527#238 of 389 by number of reviews
- Length6.7 hoursshorter than 62% of them
- Last updatedDecember 2020earlier than 70% of them
Course Description
The problem
Most data analyst, data science, and coding courses miss a crucial practical step. They don’t teach you how to work with raw data, how to clean and preprocess it. This creates a sizeable gap between the skills you need on the job and the abilities you have acquired in training. Truth be told, real-world data is messy, so you need to know how to overcome this obstacle to become an independent data professional.
The bootcamps we have seen online, and even live classes neglect this aspect and show you how to work with ‘clean’ data. But this isn’t doing you a favor. In reality, it will set you back both when you are applying for jobs, and when you’re on the job.
The solution
Our goal is to provide you with complete preparation using the NumPy package. This course will turn you into capable data analyst with a fantastic understanding of one of the most prominent computing packages in the world. To take you there, we will cover the following topics extensively.
· The ndarray class and why we use it
· The type of data arrays usually contain
· Slicing and squeezing datasets
· Dimensions of arrays, and how to reduce them
· Generating pseudo-random data
· Importing data from external text files
· Saving/Exporting data to external files
· Computing the statistics of the dataset (max, min, mean, variance, etc.)
· Data cleaning
· Data preprocessing
· Final practical example
Each of these subjects builds on the previous ones. And this is precisely what makes our curriculum so valuable. Everything is shown in the right order and we guarantee that you are not going to get lost along the way, as we have provided all necessary steps in video (not a single one skipped). In other words, we are not going to teach you how to concatenate datasets before you know how to index or slice them.
So, to prepare you for the long journey towards a data science position, we created a course that will show you all the tools for the job: The Preprocessing Data with NumPy course [MG1] .
We believe that this resource will significantly boost your chances of landing a job, as it will prepare you for practical tasks and concepts that are frequently included in interviews.
NumPy is Python’s fundamental package for scientific computing. It has established itself as the go-to tool when you need to compute mathematical and statical operations.
Why learn it?
A large portion of a data analyst’s work is dedicated to preprocessing datasets. Unquestionably, this involves tons of mathematical and statistical techniques that NumPy is renowned for. What’s more, the package introduces multi-dimensional array structures and provides a plethora of built-in functions and methods to use while working with them. In other words, NumPy can be described as a computationally stable state-of-the-art Python instrument that provides great flexibility and can take your analysis to the next level.
Some of the topics we will cover:
1. Fundamentals of NumPy
2. Random Generators
3. Working with text files
4. Statistics with NumPy
5. Data preprocessing
6. Final practical example
1. Fundamentals of NumPy
To fully grasp the capabilities of NumPy, we need to start from the fundamentals. In this part of the course, we’ll examine the ndarray class, discuss why it’s so popular and get familiar with terms like “indexing”, “slicing”, “dimensions” and “reducing”.
Why learn it?
As stated above, NumPy is the quintessential package for scientific computing, and to understand its true value, we need to start from its very core – the ndarray class. The better we comprehend the basics, the easier it’s going to be to grasp the more difficult concepts. That’s why it’s fundamental to lay a good foundation on which to build our NumPy skills.
2. Random Generators
After we’ve learned the basics, we’ll move on to pseudo-random data and random generators. These generators will help construct a set of arbitrary variables from a given probability distribution, or a fixed set of viable options.
Why learn it?
Working in a data-driven field, we sometimes need to construct partially arbitrary tests to see if our code works as intended. And here lies the value of random generators, as they allow us to construct datasets of pseudo-random data. The added benefit of random generators is that we can set a seed if we wish to replicate a particular randomization, but we’ll go into all the details in the course itself.
3. Working with text files
Exchanging information with text files is practically how we exchange information today. In this part of the course, we will use the Python, pandas, and NumPy tools covered earlier to give you the essentials you need when importing or saving data.
Why learn it?
In many courses, you are just given a dataset to practice your analytical and programming skills. However, we don’t want to close our eyes to reality, where converting a raw dataset from an external file into a workable Python format can be a massive challenge.
4. Statistics with NumPy
Once we’ve learned how to import large sets of information from external text files, we’ll finally be ready to explore one of NumPy’s strengths – statistics. Since the package is extremely computationally durable, we often rely on its functions and methods to calculate the statistics of a sample dataset. These include the likes of the mean, the standard deviation, and much more.
Why learn it?
To become a data scientist, you not only need to be able to preprocess a dataset, but also to extract valuable insights. One way to learn more about a dataset is by examining its statistics. So, we’ll use the package to understand more about the data and how to convert this knowledge into crucial information we can use for forecasting.
5. Data preprocessing
Even when your dataset is in clean and comprehensible shape, it isn’t quite ready to be processed for visualizations and analysis just yet. There is a crucial step in between, and that’s data preprocessing.
Why learn it?
Data preprocessing is where a data analyst can demonstrate how good or great they are at their job. This stage of the work requires the ability to choose the right statistical tool that will improve the quality of your dataset and the knowledge to implement it with advanced pandas and NumPy techniques. Only when you’ve completed this step can you say that your dataset is preprocessed and ready for the next part, which is data visualization.
6. Practical example
Instructor Details
- 4.6 Rating
527 Reviews
365 Careers
365 Careers is the #1 best-selling provider of business, finance, data science and AI courses on Udemy. The company’s courses have been taken by more than 4,000,000 students in 210 countries. People working at world-class firms like Apple, PayPal, and Citibank have completed 365 Careers trainings.
Currently, 365 focuses on the following topics on Udemy: 1) Finance – Finance fundamentals, Financial modeling in Excel, Valuation, Accounting, Capital budgeting, Financial statement analysis (FSA), Investment banking (IB), Leveraged buyout (LBO), Financial planning and analysis (FP&A), Corporate budgeting, applying Python for Finance, Tesla valuation case study, CFA, ACCA, and CPA
2) Data science – Statistics, Mathematics, Probability, SQL, Python programming, Python for Finance, Business Intelligence, R, Machine Learning, TensorFlow, Tableau, the integration of SQL and Tableau, the integration of SQL, Python, Tableau, Power BI, Credit Risk Modeling, and Credit Analytics, Data literacy, Product Management, Pandas, Numpy, Python Programming, Data Strategy
3) Entrepreneurship – Business Strategy, Management and HR Management, Marketing, Decision Making, Negotiation, and Persuasion, Tesla's Strategy and Marketing
4) Office productivity – Microsoft Excel, PowerPoint, Microsoft Word, and Microsoft Outlook
More courses by 365 Careers
The Data Science Course: Complete Data Science Bootcamp 2026
4.5 (162,187 Reviews)
Provider: Udemy
Time: 32.4h
$139.99
The Complete Financial Analyst Course 2026
4.6 (104,926 Reviews)
Provider: Udemy
Time: 22.4h
$199.99
The Project Management Course: Beginner to PROject Manager (2026)
4.6 (91,887 Reviews)
Provider: Udemy
Time: 7.8h
$19.99
SQL - MySQL for Data Analytics and Business Intelligence (2026)
4.5 (65,586 Reviews)
Provider: Udemy
Time: 12.1h
$159.99
Beginner to Pro in Excel: Financial Modeling and Valuation (2026)
4.5 (61,653 Reviews)
Provider: Udemy
Time: 20.7h
$199.99
More Python courses
Python 3: Deep Dive (Part 1 - Functional) (2024)
4.9 (13,534 Reviews)
Provider: Udemy
Time: 45.8h
$22.99
Python 3: Deep Dive (Part 3 - Dictionaries, Sets, JSON) (2023)
4.9 (1,996 Reviews)
Provider: Udemy
Time: 21.9h
$17.99
Programming for Everybody (Getting Started with Python)
4.9 (717 Reviews)
Provider: Coursera
Time: 12h
Free
An Introduction to Interactive Programming in Python (2013)
4.9 (554 Reviews)
Provider: Coursera
Time: 6h 40m
Free
Python: Python Programming Language | Tutorial | Beginner (2023)
4.9 (239 Reviews)
Provider: Udemy
Time: 5.1h
$19.99
An Introduction to Interactive Programming in Python (Part 2)
4.9 (225 Reviews)
Provider: Coursera
Time: 25h
Free
Reviews
By Vishal Saxena on 5/23/2025
This course was a superb and fantastic learning journey! The instructor explained NumPy fundamentals step by step, making it easy to follow and grasp the core concepts. Everything was covered thoroughly from generating random data to loading and storing raw and processed data in various formats. The most appreciated part was how different data manipulation techniques were not just explained but also implemented through practical examples, which really helped in solidifying the concepts. Thanks
By Nelly Daniela Zambrano on 5/13/2025
The instructor seems to have a deep knowledge about the topic; besides the way he teaches the content is crucial to not lose the attention to the curse.
By Alexander Chilque Alejos Alejos Chilque on 5/10/2025
very good course, provides a lot of useful knowledge, but needs more practice, and needs to be updated because some parts have changed in the numpy package
By Jaykumar Desai on 3/30/2025
What an excellent teacher you are. I understood almost everything you explained and I am good to go on to the data analyst role. I am confident. Thank you!
By Bryan Lundeen on 3/19/2025
This course has a lot of good tips and tricks but I felt that I should have taken an introductory course for this first. Mostly this course goes over cleaning and preparing data using numpy which is a useful skill. But before you do this, take a basic Numpy course to get a good foundation first. That's my advice. Then do this one to learn to apply it to preprocessing data.
By Sanjit Paul on 1/7/2025
It is really good course to have the basic idea of Numpy using practical example. I would recommend this to anyone wanted to learn about Numpy package in python.
By Josh C on 8/31/2024
Love the highlighting to keep track of what the instructor is talking about, but theres not many visuals examples or analogies. So its slightly better than a book imo there are better courses but this one is on the better side
By Francisco Rubiales Jimenez on 2/16/2024
Very nice explanations, I like the pace of the instructor. He leads the student slowly and provides space for him to follow the instructions.
By Gerry Hughes on 6/20/2023
informative. Had an issue with lesson 70, manipulating Text Data. Didn't quite grasp how the Dict was accessing the key-value pairs
By Jeff Bailey on 9/20/2022
I was familiar with the Matlab syntax for working with arrays. This course provided a thorough discussion of how to work with arrays in Python using Numpy. The course achieves its objective.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 92 / 100









