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
a function that creates and returns a small dataframe with columns of various types that we can use in the docstring examples. the goal is to avoid the need of creating the data in the examples, and also not need to download an actual dataset.
first step is make a list of docstrings that could benefit from such a function and seeing if we can come up with one that would suit a good proportion of docstrings
an alternative could be using one of the scikit-learn datasets that don't need network access, but I think IIRC they will not have many different types in their columns. maybe the titanic one?
note we have a similar function as a pytest fixture but the goal is different: cover many different weird combinations of int, float, missing values etc. whereas the new function would be for illustration not testing
The text was updated successfully, but these errors were encountered:
(or some better name)
a function that creates and returns a small dataframe with columns of various types that we can use in the docstring examples. the goal is to avoid the need of creating the data in the examples, and also not need to download an actual dataset.
first step is make a list of docstrings that could benefit from such a function and seeing if we can come up with one that would suit a good proportion of docstrings
an alternative could be using one of the scikit-learn datasets that don't need network access, but I think IIRC they will not have many different types in their columns. maybe the titanic one?
note we have a similar function as a pytest fixture but the goal is different: cover many different weird combinations of int, float, missing values etc. whereas the new function would be for illustration not testing
The text was updated successfully, but these errors were encountered: