Question: what is the difference between array and dataframe?
Answer: Originally Answered: What is the difference between an array and a data frame? Arrays can have any number of dimensions, but every entry has to have the same type. Data frames are two-dimensional, but each column is allowed to have its own type. If you want to mix numerical and categorical data, you need a data-frame.