What is the difference between Scalar and Vector Data types?

By scalar , we mean that the data type contains only a single value. This is unlike composite data types, which contain multiple values in the same data structure. Here are the most common scalar data types you will likely encounter in data science.

A vector is a tuple of one or more values called scalars. Vectors are built from components, which are ordinary numbers. You can think of a vector as a list of numbers, and vector algebra as operations performed on the numbers in the list.