Results 6 issues of Samay Mehar

Add production-grade guards for empty frame lists in Concat class: - _meta: Return empty DataFrame/Series when frames list is empty - _divisions: Return (None, None) for empty concat - _all_known_divisions:...

## Description The `_split_up_single_chunk` function in `dask/array/core.py` (line 3429) performs division by the `proposed` parameter without checking if it's zero, causing a `ZeroDivisionError`. ## Bug Location - **File:** `dask/array/core.py` -...

bug

When users import `cupy.cuda.runtime` directly, it replaces the `runtime` attribute in `cupy.cuda`, causing `cupy.cuda.get_local_runtime_version()` to fail with `AttributeError: module 'cupy.cuda.runtime' has no attribute '_getLocalRuntimeVersion'`. ## Problem The issue occurs because:...

## Description ## Checklist - A descriptive but concise pull request title - [Docstrings for all functions](https://github.com/numpy/numpydoc/blob/main/doc/example.py) - [Unit tests](https://scikit-image.org/docs/dev/development/contribute.html#testing) - A gallery example in `./doc/examples` for new features -...

## Summary The [pysal/base.py] and [pysal/lib/common.py] modules use outdated Python patterns that should be modernized for better security, maintainability, and to follow current best practices. ## Problems Identified ### 1....