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

Skimpy ignores other data types except for Float and Integer #45

Closed
good-morning-jeremy opened this issue Oct 6, 2021 · 1 comment · Fixed by #46
Closed

Skimpy ignores other data types except for Float and Integer #45

good-morning-jeremy opened this issue Oct 6, 2021 · 1 comment · Fixed by #46
Assignees

Comments

@good-morning-jeremy
Copy link

Hi,

I've tried Skimpy first time today and it seems like I found a bug. I used Skimpy on my sample dataframe and it only returns the summary for the Float and Integer columns while others were ignored.

This is the sample code:

from skimpy import skim
import datetime
import pandas as pd

data = ([datetime.datetime(2021, 1, 1), None, 'as', 6],
        [datetime.datetime(2021, 1, 2), 5.2, 'asd', 7],
        [None, 6.3, 'adasda', 8])

df = pd.DataFrame(data, columns=['date', 'float', 'string', 'integer'])

skim(df)

This is the result I got:
image

@aeturrell
Copy link
Owner

Will take a look at this as soon as I can.

@aeturrell aeturrell self-assigned this Oct 6, 2021
aeturrell added a commit that referenced this issue Oct 6, 2021
@aeturrell aeturrell mentioned this issue Oct 6, 2021
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 a pull request may close this issue.

2 participants