DataFrame in Pandas
DataFrame can be described as a 2-D array or matrix. It has data stored in it just like an excel spreadsheet with multiple columns and rows. Unlike
Series which only has one index, each value in a
DataFrame object is associated with a row index as well as a column index.
In the following code snippet, a CSV file containing cancer registration statistics of 2017 is read in a