|
def | __init__ (self, Iterable[ColumnDef] packedColumns) |
|
pandas.DataFrame | __call__ (self, List[str] colnames, List[Tuple] rows) |
|
Create pandas DataFrame from Cassandra result set.
Parameters
----------
packedColumns : `list` [ `ColumnDef` ]
Column definitions for packed columns.
◆ __call__()
pandas.DataFrame lsst.dax.apdb.apdbCassandra._PandasRowFactory.__call__ |
( |
|
self, |
|
|
List[str] |
colnames, |
|
|
List[Tuple] |
rows |
|
) |
| |
Convert result set into output catalog.
Parameters
----------
colname : `list` [ `str` ]
Names of the columns.
rows : `list` of `tuple`
Result rows
Returns
-------
catalog : `pandas.DataFrame`
DataFrame with the result set.
The documentation for this class was generated from the following file:
- python/lsst/dax/apdb/apdbCassandra.py