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

Set pandas_io.from_frictionless_schema to use a raw string for docs #1597

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

mark-thm
Copy link
Contributor

In Python 3.12 I receive the following SyntaxWarning just by importing pandas_io:

.../site-packages/pandera/io/pandas_io.py:743: SyntaxWarning: invalid escape sequence '\S'
  """Create a :class:`~pandera.api.pandas.container.DataFrameSchema` from either a

By setting the docs to a raw string, these otherwise invalid escape sequences are permitted.

@mark-thm
Copy link
Contributor Author

The CI failure seems unrelated to this change, it’s not clear to me what steps I might take to debug. Any pointers?

@cosmicBboy
Copy link
Collaborator

Can you rebase onto main branch?

Signed-off-by: Mark Elliot <123787712+mark-thm@users.noreply.github.com>
@mark-thm
Copy link
Contributor Author

Rebased to main.

Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.12%. Comparing base (4df61da) to head (090db11).
Report is 71 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1597       +/-   ##
===========================================
- Coverage   94.29%   83.12%   -11.17%     
===========================================
  Files          91      114       +23     
  Lines        7024     8490     +1466     
===========================================
+ Hits         6623     7057      +434     
- Misses        401     1433     +1032     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cosmicBboy
Copy link
Collaborator

thanks @mark-thm, and congrats on your first contribution to pandera! 🚀

@cosmicBboy cosmicBboy merged commit f79618e into unionai-oss:main Apr 25, 2024
67 of 68 checks passed
@mark-thm mark-thm deleted the patch-1 branch April 25, 2024 01:27
@mark-thm
Copy link
Contributor Author

@cosmicBboy any sense of when the next release (containing this PR) is due to come out?

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.

None yet

2 participants