daePandasDataReporter and Python 3
Object-oriented equation-based modelling and optimisation software
Brought to you by:
ciroki
I found that daePandasDataReporter does not correctly Disconnnect() because the behaviour of zip() changed from returning a list (py2) to returning an iterator(py3), which causes this line to fail (data_reporters.py L335):
self.data_frame = DataFrame(data = zip(times, data), columns = ['Times', 'Value'], index = names)
with "data argument can't be an iterator". Wrapping the zip call in a list() makes it work (and should also be py2-compatible I think).
Windows 8.1, daetools-1.4.0-win32-py34, Python 3.4.2 32bit (Anaconda)
Anonymous