Skip to content

Update tables.py for Issue #618 #628

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ThomasL25
Copy link

Issue #618 states that the return values for the type of rows and columns result in different things. I believe this should keep it uniform between them.
(First time contributor)

Changes proposed:
Updated the Row.item() function to align better with the column output.
Completed to solve Issue #618

Issue data-8#618 states that the return values for the type of rows and columns result in different things. I believe this should keep it uniform between them.
@adnanhemani
Copy link
Member

While this is clever, these are the two things I'd like to see before I'm willing to approve:

  1. Proper compilation: Approval Workflow build is failing due to indentation issues.
  2. Tests that show the change being made.

Copy link
Member

@adnanhemani adnanhemani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please push the tests to re-run the CI/CD here. Seems like the AI in #639 did the same thing and the CI/CD worked there, so I think this will work here as well.

@@ -5709,7 +5709,8 @@ def item(self, index_or_label):
index = index_or_label
else:
index = self._table.column_index(index_or_label)
return self[index]
value = self[index]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our automated tests complain that this line mixes tabs and spaces

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.

3 participants