HF RL Explorer

Add type hints in core/ anndata.py

Add type hints in core/ anndata.py: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Add type hints in core/ anndata.py

The task

**Title:** Add type hints in core/_anndata.py

Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.