How to write Python / Pandas rows and columns into a list?

There are cases in which when working with Pandas Dataframes and data series objects you might need to convert those into lists for further processing. In this post we’ll convert into lists (or list of lists) the following: Dataframe columns Dataframe rows Entire Dataframes Data series arrays Creating your sample Dataframe Before we get started … Read more