Variable Explorer
Overview
Teaching: 5 min
Exercises: 5 minQuestions
What does Spyder’s Variable Explorer do for me?
Objectives
To understand the usefulness of the Variable Explorer.
The Variable Explorer shows the namespace contents (all global object references, such as variables, functions, modules, etc.) of the currently selected IPython Console session, and allows you to interact with them through a variety of GUI-based editors.
Spyder’s Variable Explorer offers built in support for editing lists, strings, dictionaries, NumPy arrays, Pandas DataFrames, and more, and can also histogram, plot, or even display some of them as an RGB image.
Let’s explore the bingo card dictionary
Go to the Variable explorer and select the bingo_card
dictionary or whatever you called it. Let’s review its contents and the options available.
Let’s make some changes through the console and the Variable explorer and verify that they both share the same memory space.
Key Points
The variable explorer allows you to easily inspect the data structures of our program.