dask 2021.10.0

ParametersReturnsBackRef
linspace(start, stop, num=50, endpoint=True, retstep=False, chunks='auto', dtype=None)

Parameters

start : scalar

The starting value of the sequence.

stop : scalar

The last value of the sequence.

num : int, optional

Number of samples to include in the returned dask array, including the endpoints. Default is 50.

endpoint : bool, optional

If True, stop is the last sample. Otherwise, it is not included. Default is True.

retstep : bool, optional

If True, return (samples, step), where step is the spacing between samples. Default is False.

chunks : int

The number of samples on each block. Note that the last block will have fewer samples if :None:None:`num % blocksize != 0`

dtype : dtype, optional

The type of the output array.

Returns

samples : dask array
step : float, optional

Only returned if retstep is True. Size of spacing between samples.

Return :None:None:`num` evenly spaced values over the closed interval [`start`, :None:None:`stop`].

See Also

dask.array.arange

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

dask.array.creation.arange

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /dask/array/creation.py#255
type: <class 'function'>
Commit: