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

Deprecate 'keys' -> 'fields' and add properties to ak.Array and ak.Record #464

Merged
merged 2 commits into from
Sep 19, 2020

Conversation

jpivarski
Copy link
Member

@jpivarski jpivarski commented Sep 18, 2020

New properties:

  • ndim to mean self.layout.purelist_depth (Pandas forced me to make ndim always 1, which is terrible)
  • fields to mean ak.fields, and rename ak.keys to ak.fields
  • type to mean ak.type

with a formal deprecation process (to 0.4.0) of ak.keysak.fields and the keys arguments of ak.combinations, and ak.argcombinations to fields (also a deprecation process, to 0.4.0).

(@nsmith-)

@jpivarski jpivarski merged commit f172c6d into master Sep 19, 2020
@jpivarski jpivarski deleted the jpivarski/rename-keys-as-fields-and-add-properties branch September 19, 2020 11:18
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.

1 participant