How can I use Pandas in a derived class of EnergyPlusPlugin
I import pandas on top of my .py file, and run the simulation. The error says that 'No module named pandas'.
Problem solved.
The directory of Pandas needs to be added to the search path object in the IDF file.
Otherwise, energy-plus won't know where to find it.
Python comes with a number of built in packages such as "datetime" and "csv"
If you do:
import datetime
import csv
it will work with no issues.
Pandas is not a built-in python package. This means that you need to install it. Generally you can install it with:
pip install pandas
Read more on pandas installation at https://pandas.pydata.org/pandas-docs...
Once pandas is is installed your code should work.
if you are starting to install external packages, you may want to read about virtualenv https://docs.python.org/3/library/ven...