On Thu, 26 Jun 2025, at 4:08 AM, Sebastian Berg wrote:
>> I propose a new, more user-friendly way to pad along a specific axis
>> (or axes): […]
>>
>> ```python3
>> # before
>> np.pad(array, [(0, 0), (0, 0), (1, 2), (0, 0), (0, 0)])
>> # after
>> np.pad(array, {-3: (1, 2)})
>> ```
>
> So I guess t
On Tue, 2025-06-24 at 21:06 +, Carlos Martin wrote:
> It is common to want to pad an array along a *specific* axis.
> Examples:
>
> -
> https://stackoverflow.com/questions/72106542/how-to-pad-the-i-j-axes-of-a-3d-np-array-without-padding-its-k-axis
> -
> https://stackoverflow.com/questions/560