I am using ipython both in qtconsole and in the terminal
ipython
qtconsole
In ipython-qtconsole, when I type import pandas as pd the
ipython-qtconsole
import pandas as pd
Jupyter, ipython's spin-off for notebooks, provides the command jupyter console, which is precisely what you (and I) are looking for.
jupyter console