Pandas Dataframe Notes
Pandas Dataframe Notes
DataFrame
Sometimes we need to work on multiple columns at a time, i.e., we need to process the tabular data. For
example, the result of a class, items in a restaurant’s menu, reservation chart of a train, etc.
Pandas store such tabular data using a DataFrame.
A DataFrame is a two-dimensional labelled data structure like a table of MySQL.
It contains rows and columns, and therefore has both a row and column index. Each column can have a
different type of value such as numeric, string, boolean, etc., as in tables of a database.
iterrows()
iteritems()
Practice questions