taosdata / taosdata/TDengine

python support numpy transition

Open
#24,323 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
25.1k
Forks
5k
Avg merge
4d 59m
Merged PRs (30d)
7

Description

通过for循环,转为numpy数组太慢。是否可以支持原生的转换。如datablock.getNumpy()

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Python data-block API and the proposed datablock.getNumpy() entry point; compare it with the current for-loop conversion path. Done means Python callers can obtain a NumPy array through a native conversion path rather than converting row by row.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
data, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.