Skip to content

Cannot Find TimeSeries #73

Description

@divyesh2506
  File "Validation.py", line 123, in <module>
    import QSTK.qstkutil.tsutil as tsu
  File "/usr/local/lib/python2.7/dist-packages/QSTK-0.2.8-py2.7.egg/QSTK/qstkutil/tsutil.py", line 19, in <module>
    from QSTK.qstkutil import qsdateutil
  File "/usr/local/lib/python2.7/dist-packages/QSTK-0.2.8-py2.7.egg/QSTK/qstkutil/qsdateutil.py", line 38, in <module>
    GTS_DATES = _cache_dates()
  File "/usr/local/lib/python2.7/dist-packages/QSTK-0.2.8-py2.7.egg/QSTK/qstkutil/qsdateutil.py", line 36, in _cache_dates
    return pd.TimeSeries(index=dates, data=dates)
AttributeError: 'module' object has no attribute 'TimeSeries'

Any Ideas on how to solve this?

Activity

  1. Eimert commented on Jun 17, 2017

    @Eimert

    Fix is described in this pull request.

  2. parrajeremy commented on Sep 5, 2017

    @parrajeremy

    Take a look at the version of Pandas you are using (i.e. run python Validation.py from Examples). Most likely you have too new a version; need to roll it back to (0.7.3). $pip install pandas==0.7.3

  3. schneiderfelipe commented on Jan 12, 2018

    @schneiderfelipe

    As cited here, a workaround might be:

    import pandas as pd
    pd.TimeSeries = pd.Series
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions