Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Update column.py closes #63#64

Open
lguntde wants to merge 1 commit into
multimeric:masterfrom
lguntde:patch-1
Open

Update column.py closes #63#64
lguntde wants to merge 1 commit into
multimeric:masterfrom
lguntde:patch-1

Conversation

@lguntde

@lguntde lguntde commented Aug 27, 2021

Copy link
Copy Markdown

No description provided.

@lguntde lguntde changed the title Update column.py Update column.py KEYWORD #63 Aug 27, 2021
@lguntde lguntde changed the title Update column.py KEYWORD #63 Update column.py closes #63 Aug 27, 2021
Comment thread pandas_schema/column.py
return [error for validation in self.validations for error in validation.get_errors(series, self)]

# skip validation if column contains no validation objects. Used for columns that require no validation but must be present in DataFrame
if self.validations == []:

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

More Pythonic to say if not self.validations

@multimeric multimeric left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Firstly, we need to wait for you to work out the underlying issue in #63.

Secondly, we need a test for this please.

@ajithprabhakar

Copy link
Copy Markdown

Can you please release this fix?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants