data is a pointer to the beginning of the array. &data is an address of the first element of an array.
What does data 0 mean?
data[:,0] - > All the first column of the dataset. data[:,1] -> All the second colum of the dataset. Follow this answer to receive notifications.
What is data type in data structure?
A Data type is one of the forms of a variable to which the value can be assigned of a given type only. This value can be used throughout the program. A Data structure is a collection of data of different data types. This collection of data can be represented using an object and can be used throughout the program.
What is array in simple language?
An array is a collection of similar data elements stored at contiguous memory locations. It is the simplest data structure where each data element can be accessed directly by only using its index number.
What are simple and compound data structures?
The most common simple data structures are arrays and linked lists. Compound data structure: builds on primitive and simple data structures, and may be linear or non-linear. Linear data structure forms a linear sequence with unique predecessors and successors. Non-linear data structure does not form linear sequences.