chaoyihu

Results 10 comments of chaoyihu

**Is there a bound on the value of rank for a given tensor?** Hi! Here I am offering you my findings on this problem: The parameter R you referred to...

Looks like it depends on the lexicographic order of the nonexistent string compared to the existing indices: ``` >>> people_df.loc["P":] # "P" < "Person1" name age Person1 Juan 15 Person2...

I looked into it further and found that the behavior is actually consistent with [the current doc](https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#slicing-with-labels). > When using .loc with slices, if both the start and the stop...

@987sebasBeller, it seems that no fix is needed since the documentation correctly reflects the behavior of `df.loc`. I think this issue can probably be closed, though further discussions are definitely...

Thanks for raising this issue. The problem is with `_ImageBase::_make_image` where [`alpha` is written as a scalar when `interpolation_stage='rgba'`](https://github.com/matplotlib/matplotlib/blob/main/lib/matplotlib/image.py#L556). I have submitted https://github.com/matplotlib/matplotlib/pull/28437 which will hopefully resolve this issue.

I cannot reproduce it on Ubuntu 22.04.4 LTS, Docker version 25.0.4. Did I reproduce it properly? Folder structure: ``` . ├── Dockerfile └── script.py ``` My Dockerfile: ``` FROM python:3.10-slim...

Just an update. I think this is unrelated to python and it actually looks like a docker issue. The cause seems to be that binary files `/usr/share/zoneinfo/Asia/Shanghai` and `/usr/share/zoneinfo/UTC` are...

This issue no longer exists on the main branch as of 2a10e04a099d5f1633abcdfbb2dd9fdf09142f8d. The script returns: ``` 0 0 NaN ```

> I saw in one of your edits that you have numpy 1.26.4 This issue only should only occur with numpy 2.0+ I see. Sorry for the noise.

Hi, just wondering if anyone is still actively working on this? Seems that @JosephBorodach has put in much work in this but the PR has not been wrapped up.