-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: from/to numpy&collect concat #1339
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has totally checked 874 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
672 | 1 | 201 | 0 |
Click to see the invalid file list
- src/script/src/python/ffi_types/py_recordbatch.rs
Codecov Report
@@ Coverage Diff @@
## develop #1339 +/- ##
===========================================
- Coverage 86.04% 86.03% -0.01%
===========================================
Files 527 528 +1
Lines 78346 78476 +130
===========================================
+ Hits 67409 67520 +111
- Misses 10937 10956 +19 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@waynexia Can you take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've skimmed this and it looks good to me
* feat: from/to numpy&collect concat * feat: PyRecordBatch * test: try import first,allow w/out numpy/pyarrow * fix: cond compile flag * doc: license * feat: sql() ret PyRecordBatch&repr * fix: after merge * style: fmt * chore: CR advices * docs: update * chore: resolve conflict
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
PyVector
collect
to concated batch(So nocollect()[0][0]
justcollect()[0]
PyRecordBatch
type as return values ofPyDataFrame.collect()
allowing indexing likecollected[0]
orcollected["number"]
Checklist
Refer to a related PR or issue link (optional)