question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Would be nice to have NumPy’s pad implemented for Dask Arrays. May also help clean up some other code by having this exposed as part of the API.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mrocklincommented, Jun 5, 2017

Presumably this would help with map_overlap?

On Mon, Jun 5, 2017 at 2:41 PM, jakirkham notifications@github.com wrote:

Would be nice to have NumPy’s pad https://docs.scipy.org/doc/numpy-1.12.0/reference/generated/numpy.pad.html implemented for Dask Arrays. May also help clean up some other code by having this exposed as part of the API.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dask/dask/issues/2415, or mute the thread https://github.com/notifications/unsubscribe-auth/AASszKkNbNJIxc-ibwguQHbU8TZo-NmTks5sBEv1gaJpZM4NwaQT .

0reactions
jakirkhamcommented, Jun 13, 2018

Have an implementation of pad for Dask Arrays in PR ( https://github.com/dask/dask/pull/3578 ). Feedback welcome.

Read more comments on GitHub >

github_iconTop Results From Across the Web

numpy.pad — NumPy v1.24 Manual
Pad an array. ... One of the following string values or a user supplied function. ... Pads with undefined values. New in version...
Read more >
NumPy Pad: Using np.pad() to Pad Arrays and Matrices - Datagy
In this tutorial, you'll learn how to use the powerful NumPy pad function to pad arrays and matrices in NumPy and Python.
Read more >
python how to pad numpy array with zeros - Stack Overflow
In case you need to add a fence of 1s to an array: >>> mat = np.zeros((4,4), ... The optimal solution for this...
Read more >
Numpy Pad: Understanding np.pad() - Sparrow Computing
Numpy Pad : Understanding np.pad() ... A common use case for padding tensors is adding zeros around the border of images to convert...
Read more >
numpy.pad() function in Python - GeeksforGeeks
numpy.pad() function is used to pad the Numpy arrays. Sometimes there is a need to perform padding in Numpy arrays, then numPy.pad() ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found