DataFrame is a data structure, which is a labeled two-dimensional object and is similar in spirit to an Excel worksheet or a relational database table. A similar concept, by the way, was invented originally in the R programming language. (For more information, refer to http://www.r-tutor.com/r-introduction/data-frame.) A
DataFrame can be created in the following ways:
DataFrameout of another pandas data structure called
Series. We will learn about
Seriesin the following section.
DataFramecan also be produced from a file, such as a CSV file.
As an example, we will use data that can be retrieved ...