Create panels

- [Instructor] Panels are three-dimensional…analogues of dataframes.…Within a panel, a dataframe…is an analog of a column within a dataframe.…You can obtain more information about panels…by navigating to this URL.…In this video, we will discuss how to create panels.…The panels file in your exercises file folder…is pre-populated with import statements…for pandas and numpy,…an import statement for datetime,…and import statements for pandas data reader.…

Also within the cell, we set…the printing precision for decimal numbers within panels.…In this cell, we start with a numpy array…that is two by five by four,…and will use this array to…generate information within a panel.…In my first panel, the two dataframes…along the axis zero are labeled as item one, and item two.…Each dataframe within the panel has five rows,…starting with the sixth of September 2016.…

The column headers are the strings A, B, C, and D.…Before executing this cell, remember to…execute the import statements by pressing shift enter.…To see the result for my first panel, press shift enter.…

Resume Transcript Auto-Scroll

Author

Released

10/24/2016

pandas for Data Science is an introduction to one of the hottest new tools available to data science and business analytics specialists. pandas is an open-source library that provides high-performance, easy-to-use data structures and data analysis tools. While Python has excellent capabilities for data manipulation and data preparation, pandas adds data analysis and modeling tools so that users can perform entire data science workflows.

Watch this course to gain an overview of pandas. Charles Kelly helps you get started with time series, data frames, panels, plotting, and visualization. All you need is a copy of the free and interactive Jupyter Notebook app to practice and follow along.