Simply pytests `subjects_csv` and `sessions_csv` by removing pandas dependency
还没有人认领这个 Issue。
评估
调研方向
定位 subjects_csv 和 sessions_csv 的 pytest 覆盖范围,并检查如何使用 pandas 构建或比较示例数据。将这些操作替换为 Python dicts 和 lists,将示例 CSV 数据写成多行字符串,并运行相关的 pytest 测试,以确认在没有 pandas 依赖的情况下它们仍然通过。
由索引模型根据 Issue 内容生成。
描述
I think the use of pandas here is unjustified. All the operations where it's used can be just more cleanly accomplished with python datatypes: dicts and lists.
Originally posted by @dimitri-yatsenko in https://github.com/datajoint/workflow-animal/pull/9#discussion_r775087716
writing a sample CSV file with sample data can be made much simpler. Consider simply writing a multiline string into a file.
Originally posted by @dimitri-yatsenko in https://github.com/datajoint/workflow-animal/pull/9#discussion_r775087876
- 主要语言
- Jupyter Notebook
- 星标
- 10
- 派生
- 44
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
datajoint/element-array-ephys 的其他 Issue
-
Migrate to DataJoint 2.x: 14 longblob attributes silently corrupt data, 1 attribute fails to declare未关闭
难度 4/5 3-5 天 新手友好度 58/100
datajoint/element-array-ephys#230 ·
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
datajoint/element-array-ephys#207 ·
-
bug
难度 3/5 1-2 天 新手友好度 35/100
datajoint/element-array-ephys#206 ·
-
bug
难度 2/5 1-3 小时 新手友好度 35/100
datajoint/element-array-ephys#154 · 1 条评论 ·
-
bug
难度 3/5 1-2 天 新手友好度 35/100
datajoint/element-array-ephys#163 ·
查看 datajoint/element-array-ephys 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 83/100
FluidNumerics/fluid-walk-blocker#191 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
review-followup
难度 2/5 1-3 小时 新手友好度 75/100
griffinwork40/agent-afk#3215 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 95/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
mknw/hames-playground#509 ·
维护者通常 1 天内回复