-
Notifications
You must be signed in to change notification settings - Fork 2
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: add content types #62
Merged
Merged
Changes from 38 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
ee0d3e1
feat: add a method to convert `PyIterable`
ianna e3c09a5
feat: add auto conversion rules
ianna 5ab4335
fix: update conversion rules
ianna 7af724d
feat: define __init__ function
ianna 009bcaf
fix: move convert out of the __init__ function
ianna d6000ab
test: add a test passing a Python array to a Julia function
ianna f2b1406
feat: define conversion rules
ianna 11fe5d5
fix: remove convertion of an iterable
ianna 11c7c46
feat: add rules and register
ianna 3b8663e
fix: leave it to a user to invoke pyconvert
ianna 9ea8d9c
test: test pyconvert of an awkward array
ianna 34f33a7
tests: add tests
ianna c396ae7
fix: use Vector in convert to avoid problems with BitMasked buffers
ianna 1cc71e5
feat: convert to an awkward type
ianna f193bf4
fix: add dtypes
ianna 7d2c696
fix: more dtypes
ianna 6687140
feat: add content types
ianna 5973237
Merge branch 'main' into ianna/add_content_types
ianna 15b11a8
fix: add tuple behaviour
ianna 1f53fb8
test: separate from_iter tests
ianna a69f2b0
fix: eltype of UnionArray
ianna 8825ea4
fix: cleanup
ianna 09aa996
test: comment out a test of from_iter on union
ianna 0de6fca
test: comment out another test
ianna 9f9b4d2
test: add a test
ianna fe720aa
test: comment out a test
ianna fa4d5d1
fix: tests
ianna 440a2d6
fix: add a test
ianna fba439e
fix: add a test
ianna a6e9936
debug: add print statements in the failing test
ianna 5041269
test: add debug statements
ianna c8891bc
fix: add test
ianna e69f907
fix: test
ianna a719729
fix: cleanup debug statements
ianna 01cb941
feat: add eltype
ianna 3343c94
tests: cleanup
ianna edee010
feat: set empty eltype as union
ianna defc61a
fix: use bottom type
ianna 6ef15d5
Update src/all_implementations.jl
ianna a694657
Update src/all_implementations.jl
ianna 6a93325
Update src/all_implementations.jl
ianna f9475b1
Update src/all_implementations.jl
ianna 051a2d9
Update src/all_implementations.jl
ianna 6056cb0
fix: tests
ianna 46391cb
feat: unionarray eltype
ianna 8e611f7
fix: cleanup
ianna 4d3ae8d
test: add record eltype test
ianna 95ad897
test: add more tests
ianna 44d196c
test: add more test coverage
ianna f74515a
test: more tests and fixes
ianna b6d3a1d
cleanup: remove debug printout
ianna a70f26f
test: more tests
ianna 6769ac1
cleanup
ianna File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Does a
Record
(a scalar object, not an array) even have aneltype
?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 think it depends on if you model the
Record
as an indexable thing. For me at least, I think event-based table semantically as a row table, so theeltype
is whatever the type an "event" would give youThere 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'm not sure if it makes sense to separate
FIELDS
andCONTENTS
, but perhaps there is a usecase for it?