Skip to main content
Ctrl+K

scverse-misc

  • API
    • scverse_misc.make_register_namespace_decorator
    • scverse_misc.ExtensionNamespace
    • scverse_misc.try_convert_series_to_numpy_dtype
    • scverse_misc.try_convert_dataframe_to_numpy_dtypes
  • Changelog
  • Contributing guide
  • References
  • .md

API

Contents

  • Extensions
  • Pandas utility functions

API#

Extensions#

make_register_namespace_decorator(cls, ...)

Create a decorator for registering custom functionality with a class.

Types used by the former:

ExtensionNamespace(instance)

Protocol for extension namespaces.

Pandas utility functions#

try_convert_series_to_numpy_dtype(col)

Attempt to convert a Series to a non-nullable dtype.

try_convert_dataframe_to_numpy_dtypes(df)

Attempt to convert all columns of a DataFrame to their respective non-nullable dtype.

previous

scverse-misc

next

scverse_misc.make_register_namespace_decorator

Contents
  • Extensions
  • Pandas utility functions

By Ilia Kats

© Copyright 2026, Ilia Kats..