Pass Statement is used when a statement is required syntactically. Im querying data from my db and save it in a list. In Python its possible to access a DataFrames columns either by attribute (df.age) or by indexing (df['age']). ,