🇮🇳 Data Science & Machine Learning · subject
Data Science & Machine Learning Data Manipulation with NumPy and Pandas Syllabus
Every chapter and topic of Data Manipulation with NumPy and Pandas examined in Data Science & Machine Learning — 4 chapters, 15 topics and 29 sub-topics, plus 51 flashcards written against it.
Data Manipulation with NumPy and Pandas syllabus — full chapter and topic list
Expand any chapter to see its topics and sub-topics. This is the whole examinable outline for Data Manipulation with NumPy and Pandas in Data Science & Machine Learning, not a summary of it.
-
Numerical Computing with NumPy
4 topics- ndarray Fundamentals
- Array creation and dtypes
- Shape, reshape and dimensions
- Indexing and Slicing
- Boolean and fancy indexing
- Vectorized Operations
- Broadcasting rules
- Universal functions
- Aggregation and Linear Algebra
- sum, mean, axis operations
- Matrix operations with np.linalg
- ndarray Fundamentals
-
Pandas Data Structures
3 topics- Series and DataFrame
- Creating from lists, dicts and arrays
- Index objects
- Data Selection
- loc and iloc
- Boolean filtering
- Reading and Writing Data
- CSV, Excel and SQL sources
- JSON and parquet
- Series and DataFrame
-
Data Wrangling
5 topics- Handling Missing Data
- isnull, dropna and fillna
- Interpolation
- Grouping and Aggregation
- groupby mechanics
- agg, transform and apply
- Merging and Joining
- merge, join and concat
- Join types
- Reshaping Data
- pivot and pivot_table
- melt, stack and unstack
- Time Series Handling
- Datetime indexing
- Resampling and rolling windows
- Handling Missing Data
-
Data Cleaning and Feature Preparation
3 topics- Duplicate and Outlier Treatment
- drop_duplicates
- Outlier detection with IQR
- Type Conversion and Mapping
- astype and map
- apply and applymap
- String and Categorical Cleaning
- str accessor methods
- Category dtype
- Duplicate and Outlier Treatment
Data Manipulation with NumPy and Pandas flashcards for Data Science & Machine Learning
18 of 51 cards from the Data Manipulation with NumPy and Pandas deck — real questions with worked answers.
What is a NumPy ndarray?
An N-dimensional, fixed-size array of homogeneous (same dtype) elements stored in contiguous memory, enabling fast vectorized operations.
What do the ndarray attributes ndim, shape, size, and dtype return?
ndim = number of dimensions; shape = tuple of sizes per dimension; size = total number of elements; dtype = data type of elements.
How do np.zeros, np.ones, and np.full differ?
np.zeros fills with 0, np.ones fills with 1, and np.full fills with a specified constant value, each for a given shape.
What is the difference between np.arange and np.linspace?
np.arange(start, stop, step) generates values by step (stop exclusive); np.linspace(start, stop, num) generates num evenly spaced values (stop inclusive by default).
Why is a NumPy array more memory- and speed-efficient than a Python list for numeric work?
It stores homogeneous data in contiguous memory and uses compiled, vectorized C operations, avoiding per-element Python object overhead and loop interpretation.
What does array broadcasting do in NumPy?
It lets arrays of different but compatible shapes be combined in arithmetic by virtually stretching dimensions of size 1 to match, without copying data.
State the broadcasting rule for two dimensions to be compatible.
Comparing shapes from the trailing dimension, two dimensions are compatible if they are equal or one of them is 1.
In NumPy, does basic slicing (e.g. a[1:4]) return a copy or a view?
A view — it shares memory with the original array, so modifying the slice modifies the original.
What is fancy (integer-array) indexing in NumPy and does it return a view or copy?
Indexing with an array/list of integer indices (e.g. a[[0,2,4]]); it always returns a copy, not a view.
How does boolean mask indexing work in NumPy, e.g. a[a > 5]?
A boolean array of the same shape selects elements where the mask is True, returning a 1-D copy of those elements.
What is a vectorized operation in NumPy?
Applying an operation to entire arrays at once via compiled loops instead of explicit Python for-loops, giving concise and fast element-wise computation.
What is a NumPy universal function (ufunc)? Give two examples.
A function that operates element-wise on arrays with broadcasting support, e.g. np.add and np.sqrt (also np.exp, np.sin).
What does the axis parameter control in NumPy aggregations like sum(axis=0) on a 2-D array?
axis=0 aggregates down the rows (collapsing rows, result per column); axis=1 aggregates across columns (result per row).
Which NumPy function computes the matrix (dot) product, and what operator is equivalent?
np.dot(A, B) computes the matrix product; the @ operator is equivalent for 2-D arrays.
What does np.linalg.inv compute and when does it fail?
It computes the inverse of a square matrix; it fails (raises LinAlgError) if the matrix is singular (non-invertible / determinant zero).
Name the NumPy functions for determinant and for eigenvalues/eigenvectors.
np.linalg.det for the determinant; np.linalg.eig for eigenvalues and eigenvectors.
What is a pandas Series?
A one-dimensional labeled array holding data of a single dtype, with an associated index for label-based access.
What is a pandas DataFrame?
A two-dimensional labeled, size-mutable tabular structure with rows (index) and columns, where each column is a Series that can have its own dtype.
See more Data Manipulation with NumPy and Pandas flashcards →
Planning Data Manipulation with NumPy and Pandas for Data Science & Machine Learning
Data Manipulation with NumPy and Pandas is about 14% of the Data Science & Machine Learning syllabus by topic count — 15 of 110 topics, spread over 4 chapters. At roughly 45 minutes per topic plus 12 minutes per sub-topic, a first pass runs to about 15 hours.
The heaviest chapters are Data Wrangling (5 topics), Numerical Computing with NumPy (4 topics), Pandas Data Structures (3 topics) . Front-load those while your energy is high; the short chapters are better revision filler later.
Work top-down: read the chapter, then tick topics off individually rather than marking the whole chapter done. Sub-topics are where silent gaps hide.
Data Manipulation with NumPy and Pandas (Data Science & Machine Learning) FAQ
What is in the Data Science & Machine Learning Data Manipulation with NumPy and Pandas syllabus?
Data Manipulation with NumPy and Pandas is split into 4 chapters — Numerical Computing with NumPy, Pandas Data Structures, Data Wrangling and Data Cleaning and Feature Preparation, containing 15 topics and 29 sub-topics in total.
How is Data Manipulation with NumPy and Pandas structured in the Data Science & Machine Learning syllabus?
4 chapters. Data Manipulation with NumPy and Pandas accounts for about 14% of the topics in the whole Data Science & Machine Learning syllabus (15 of 110).
How long should I spend on Data Manipulation with NumPy and Pandas for Data Science & Machine Learning?
Budget around 15 hours for a first pass through Data Manipulation with NumPy and Pandas — about 45 minutes per topic plus 12 minutes per sub-topic across its 15 topics. Add revision cycles on top.
Are there flashcards for Data Science & Machine Learning Data Manipulation with NumPy and Pandas?
Yes — a 51-card Data Manipulation with NumPy and Pandas deck. Sample cards are printed on this page, and the full deck is free in the Examius app with spaced repetition scheduling.