dace_query.exoplanet package¶
Submodules¶
dace_query.exoplanet.exoplanet module¶
- dace_query.exoplanet.exoplanet.Exoplanet: ExoplanetClass = <dace_query.exoplanet.exoplanet.ExoplanetClass object>¶
Exoplanet instance
- class dace_query.exoplanet.exoplanet.ExoplanetClass(dace_instance: DaceClass | None = None)¶
Bases:
objectThe exoplanet class. Use to retrieve data from the exoplanet module.
An exoplanet instance is already provided, to use it:
>>> from dace_query.exoplanet import Exoplanet
- query_database(limit: int | None = 10000, filters: dict | None = None, sort: dict | None = None, output_format: str | None = None) dict[str, ndarray] | DataFrame | Table | dict¶
Query the exoplanet database to retrieve data in the chosen format.
Filters and sorting order can be applied to the query via named arguments (see Filtering and sorting).
All available formats are defined in this section (see Output formats).
- Parameters:
limit (Optional[int]) – Maximum number of rows to return
filters (Optional[dict]) – Filters to apply to the query
sort (Optional[dict]) – Sort order to apply to the query
output_format (Optional[str]) – Type of data returns
- Returns:
The desired data in the chosen output format
- Return type:
dict[str, ndarray] or DataFrame or Table or dict
>>> from dace_query.exoplanet import Exoplanet >>> values = Exoplanet.query_database()