Again copying the Numpy zeros_like and ones_like interface
1 2 3 4 5
Object to imitiate
Value to fill imitation with
Object of same shape and type as
x filled with value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.