Question: what is the difference between series and dataframe in pandas?
Answer: The primary pandas data structure. So, the Series is the data structure for a single column of a DataFrame , not only conceptually, but literally, i.e. the data in a DataFrame is actually stored in memory as a collection of Series .