Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unbounded sequence issue in
DataFrame
constructor (#13811)
In `cudf`, we currently have a hang in this scenario: ```python In [1]: import cudf In [2]: class A: ...: def __getitem__(self, key): ...: return 1 ...: In [3]: cudf.DataFrame([A()]) ``` This PR introduces additional checks before letting the list-like inputs pass onto `itertools` for transposing. Authors: - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - Bradley Dice (https://github.com/bdice) URL: #13811
- Loading branch information