Skip to content
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

Add support for 'capacity' as kwarg and 'tile' as dict of extents (from_csv/pandas) #391

Merged
merged 3 commits into from
Oct 8, 2020

Conversation

ihnorton
Copy link
Member

@ihnorton ihnorton commented Oct 7, 2020

This PR implements the following for from_csv and from_pandas

  • 'capacity' kwarg to apply to schema
  • 'tile' as dict kwarg (in addition to existing scalar usage) optionally specifying per-dimension tile extents by {name: extent} pairs

tiledb/dataframe_.py Outdated Show resolved Hide resolved
@ihnorton ihnorton force-pushed the ihn/from_csv_capacity branch from 5bee825 to c750ca0 Compare October 7, 2020 12:49
@ihnorton ihnorton requested a review from normanb October 7, 2020 12:53
Supports passing `tile` kwarg of type Dict[Str->[Int,Float]] to specify
the tile extent to apply to any dimensions (tiledb.Dim) created for indexes.
If no tiling is specified then the existing internal default will be
used.
@ihnorton ihnorton requested review from Shelnutt2 and normanb and removed request for normanb October 7, 2020 14:06
@ihnorton ihnorton changed the title Add support for 'capacity' kwarg in from_csv and from_pandas Add support for 'capacity' as kwarg and 'tile' as dict of extents (from_csv/pandas) Oct 7, 2020
…internally)

(also prefix csv_schema_only test w/ dataframe_ so it runs under
`pytest -k dataframe`)
@normanb
Copy link
Contributor

normanb commented Oct 7, 2020

👍 looks good.

@ihnorton ihnorton merged commit de0f033 into dev Oct 8, 2020
@gsakkis gsakkis deleted the ihn/from_csv_capacity branch April 6, 2021 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants