Pandas is a module used for organizing and manipulating large data structures. However, there are some rules that we must follow when working with the pandas module
So, let us start by creating Dataframe
Awesome! We just made our first DataFrame with two columns However, to understand something you must know what is the programming heirarchy going on behind 1. Pandas is a module, duh. 2. DataFrame is an object of Pandas, think like a blueprint for building something. 3. Our df is an instance of that object, a manifestation of what DataFrame looks like. 4. Instances have methods associated with the object (Thats why we can call .head() and stuff)
Ok, so now we know whats happening underneath, but what if I want only certain columns or rows?
There is also another neat feature of DataFrames called boolean filtering. You can filter out values according to the conditions you give it
To get the values, use conditions inside a bracket that indexes the DataFrame