Skip to content

Method max on a database column returns an SQLAlchemy Select object #1403

@dhirschfeld

Description

@dhirschfeld

As discussed on gitter with Win x64, an Oracle database, cx_oracle, Python 3.4 and blaze 0.9.0 I get the below behaviour:

In [65]: temp.forecasttime
Out[65]:
         forecasttime
0   01-Apr-2010 07:00
1   01-Apr-2010 07:00
2   01-Apr-2010 07:00
3   01-Apr-2010 07:00
4   01-Apr-2010 07:00
5   01-Apr-2010 07:00
6   01-Apr-2010 07:00
7   01-Apr-2010 07:00
8   01-Apr-2010 07:00
9   01-Apr-2010 07:00
...

In [66]: temp.forecasttime.max()
Out[66]: <sqlalchemy.sql.selectable.Select at 0xf7e3198; Select object>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions