astrodbtoolkit / astrodbtoolkit/AstrodbKit

Consider use of Astropy QTable

未关闭
#22 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
12
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

Astropy QTables are Tables with units enforced in them. The databases I have worked with thus far don't have units stored in them, but it may be that some will (perhaps if the data is in long-form) or that it can be added via some map.
We may want to consider adding a `.qtable` method that will return query output but do so in QTable form. The simplest implementation would probably require the user to provide a dictionary of column -> unit, but we can explore other options too.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先定位查询输出 API,并检查当前如何表示返回的行或表。阅读 Astropy QTable 的要求,并将其与提议的 `.qtable` 方法以及列到单位的字典进行比较。当项目确定了单位映射方案,并且查询结果可以作为 QTables 返回时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python, sqlalchemy
领域
backend-api-design, database
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。