Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Python Data Analysis

You're reading from   Python Data Analysis Master Python Analytics with Machine Learning, Deep Learning, GenAI, LLMs, and Data Engineering

Arrow left icon
Product type Paperback
Published in Jun 2026
Publisher Packt
ISBN-13 9781806022878
Length 766 pages
Edition 4th Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Avinash Navlani Avinash Navlani
Author Profile Icon Avinash Navlani
Avinash Navlani
Cornellius Yudha Wijaya Cornellius Yudha Wijaya
Author Profile Icon Cornellius Yudha Wijaya
Cornellius Yudha Wijaya
Arrow right icon
View More author details
Toc

Table of Contents (25) Chapters Close

Preface 1. Part 1: Foundations for Data Analysis
2. Getting Started with Python Libraries FREE CHAPTER 3. NumPy and Pandas 4. Statistics for Data Insights 5. Linear Algebra 6. Part 2: Exploratory Data Analysis and Data Cleaning
7. Data Visualization 8. Retrieving, Processing, and Storing Data 9. Cleaning Messy Data 10. Time-Series Analysis 11. Part 3: Deep Dive into Machine Learning
12. Supervised Learning: Regression and Classification 13. Unsupervised Learning: Dimensionality Reduction, Clustering, Anomaly Detection 14. Ensemble Methods: Bagging and Boosting Methods 15. Artificial Neural Networks and Deep Learning 16. Part 4: NLP, Image Analytics, and Parallel Computing
17. Analyzing Text Data 18. Analyzing Image Data 19. LLMs and Gen AI 20. Parallel Computing Using Dask, Modin, and Ray 21. Big Data Analytics Using PySpark 22. Unlock Access to the Code Bundle and the PDF Version 23. Other Books You May Enjoy 24. Index

Introduction to scalar, vector, matrix, and tensor

Scalars, vectors, matrices, and tensors all provide a solid foundation for linear algebra and are widely used in machine learning, deep learning, and scientific computation. All these four structures have different levels of dimensions and are the backbones for all multi-dimensional data, such as tabular data, text, images, videos, and geospatial data. In the following subsections, we will look at these concepts of linear algebra in detail.

Scalar and vectors

A scalar is a single number or value that deals with a vector in space via scalar multiplication. Scalars are 0-dimensional and represent a quantity with magnitude but no direction, while vectors are one-dimensional and represent both magnitude and direction. A vector is an ordered set of elements, or it is an array of elements that can be viewed as a row or a column. Vectors can be added together and can be multiplied by a real number known as a scalar.

Image 2

Figure 4.1: Examples of...

lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Python Data Analysis
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon