Skip to content

Issue running ska distance with pandas >=3 #109

@kristyhoran

Description

@kristyhoran

Hello @johnlees !!

This morning i created a new conda env and installed ska 0.5.1... When i ran ska distance I got this error

TypeError: NDFrame.fillna() got an unexpected keyword argument 'downcast'

When i looked into the environment setup and compared to an older one (created last month) with ska 0.5.1 - the pandas version in the new one was 3.0.0 were as the one the worked was pandas 2.3.3. I downgraded pandas to v2.3.3 and the error was resolved.

Just thought someone should bring this potential issue to your attention. I have now pinned pandas to < 3.0.0 in my envs to prevent the issue.

Cheers
Kristy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions