You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading about how to create example dataframes from schemas on this page it mentions that you need hypothesis library.
Skipping to the index page/README to understand if that's an optional dependency seems to indicate it is, though there's some confusion over spelling hypothesis vs hypotheses.
This lead me to get ModuleNotFoundError: No module named 'hypothesis' errors until I dug further and discovered that
calling pip install pandera[hypotheses] only actually installs scipy, and you have to install pandera[strategies] to get hypothesis.
Suggested fix for documentation
I would suggest including hypothesis library with the pandera[hypotheses] optional install and fixing the discrepancy in spelling, or specifying in the strategy page that you need to install pandera[strategies] for this functionality.
The text was updated successfully, but these errors were encountered:
Location of the documentation
https://pandera.readthedocs.io/en/stable/data_synthesis_strategies.html#usage-in-unit-tests
https://pandera.readthedocs.io/en/stable/index.html#extras
Documentation problem
When reading about how to create example dataframes from schemas on this page it mentions that you need hypothesis library.
Skipping to the index page/README to understand if that's an optional dependency seems to indicate it is, though there's some confusion over spelling
hypothesis
vshypotheses
.This lead me to get
ModuleNotFoundError: No module named 'hypothesis'
errors until I dug further and discovered thatcalling
pip install pandera[hypotheses]
only actually installs scipy, and you have to installpandera[strategies]
to get hypothesis.Suggested fix for documentation
I would suggest including
hypothesis
library with thepandera[hypotheses]
optional install and fixing the discrepancy in spelling, or specifying in the strategy page that you need to installpandera[strategies]
for this functionality.The text was updated successfully, but these errors were encountered: