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

Small fixes for Category #1074

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Jan 20, 2023

  1. fix: numpy_pandas_coercible always returns bool

    When using numpy_pandas_coercible on Series of Categorical, it was
    returning a Categorical Series instead of a bool series.
    
    It has been fixed by enforcing the return dtype.
    
    Signed-off-by: koalp <koalp@alpaga.dev>
    koalp committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    1d5fc50 View commit details
    Browse the repository at this point in the history
  2. fix: add __str__ method for Category

    Errors when using Category were a bit missleading.
    
    A __str__ method for Category has been added to make it more readable.
    
    Signed-off-by: koalp <koalp@alpaga.dev>
    koalp committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    ba782c2 View commit details
    Browse the repository at this point in the history