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

coerce=True and pandas_dtype=None should be a noop #476

Merged
merged 9 commits into from
Apr 30, 2021
Merged

Conversation

cosmicBboy
Copy link
Collaborator

@cosmicBboy cosmicBboy commented Apr 29, 2021

fixes #471

before these two options were incompatible and pandera
would raise a SchemaInitError. This diff loosens this by
allowing for this combination, in which case no coercion
will happen if pandas_dtype=None

  • also fixed some CI issues

before these two options were incompatible and pandera
would raise a SchemaInitError. This diff loosens this by
allowing for this combination, in which case no coercion
will happen if pandas_dtype=None
@codecov
Copy link

codecov bot commented Apr 29, 2021

Codecov Report

❗ No coverage uploaded for pull request base (dev@8307971). Click here to learn what that means.
The diff coverage is 100.00%.

Impacted file tree graph

@@          Coverage Diff           @@
##             dev     #476   +/-   ##
======================================
  Coverage       ?   99.45%           
======================================
  Files          ?       21           
  Lines          ?     2568           
  Branches       ?        0           
======================================
  Hits           ?     2554           
  Misses         ?       14           
  Partials       ?        0           
Impacted Files Coverage Δ
pandera/io.py 100.00% <ø> (ø)
pandera/schema_components.py 100.00% <ø> (ø)
pandera/schemas.py 99.31% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8307971...f337495. Read the comment docs.

@cosmicBboy cosmicBboy merged commit 7e32877 into dev Apr 30, 2021
cosmicBboy added a commit that referenced this pull request May 5, 2021
* coerce=True and pandas_dtype=None should be a noop

before these two options were incompatible and pandera
would raise a SchemaInitError. This diff loosens this by
allowing for this combination, in which case no coercion
will happen if pandas_dtype=None

* ignore python=3.7 pandas=0.25.3 in noxfile, minor changes
@cosmicBboy cosmicBboy deleted the bugfix/471 branch May 5, 2021 01:41
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