Tags / dataframe
Summing Values in Python Based on List of Lists Using Pandas
Creating a Column of Differences in 'col2' for Each Item in 'col1' Using Groupby and Diff Method
How to Add a New Column to a Pandas DataFrame Based on Values from Another DataFrame Using `isin` Method and `np.where` Function
Unsorting Data in Pandas: Two Effective Methods for Customized Sorting
Sub-Sampling Data for Multi-Class Classification Using Scikit-Learn and Pandas
Mastering Pandas DataFrames and CSV Files in Python: Tips for Efficient Data Manipulation
To answer your question, the code you've posted is actually creating a table of values in Python using pandas library and then printing this table.
Pandas Sort Multiindex by Group Sum in Descending Order Without Hardcoding Years
Separating Numerical and Categorical Variables in a Pandas DataFrame
Transforming Complex Flat Files into Structured Formats with Python's Pandas Library