Skip to content

Conversation

@adnanhemani
Copy link
Member

[X] Wrote test for feature
[X] Added changes to CHANGELOG.md
[X] Bumped version number (delete if unneeded)

Changes proposed:
Due to the changes between NumPy v1.17.5 -> 1.18.0 (especially noted in this PR: numpy/numpy#14745), some updating is required to our Row's getattr function.

Small tl;dr on the NumPy PR: conversion to a NumPy array via the np.array(..) function would catch any exceptions for the required np.array fields. At v1.18.0, it's now been changed such that it only catches exceptions for AttributeErrors - hence this change.

I'd suggest that the new error message and Exception type is actually better than the one we'd get previously so I think this is the right move to make regardless.

Closes #425.

@coveralls
Copy link

coveralls commented Jun 7, 2020

Coverage Status

Coverage increased (+0.1%) to 76.949% when pulling 8bcac97 on issue_425 into 7b7f81d on master.

@davidwagner davidwagner merged commit 737219e into master Jun 7, 2020
@davidwagner davidwagner deleted the issue_425 branch June 7, 2020 16:27
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.

Table.__getattr__ issue when calling np.array on a Table row

3 participants