MCPcopy Create free account

hub / github.com/dask/dask / functions

Functions9,157 in github.com/dask/dask

↓ 2 callersFunctiondiagonal
(a, offset=0, axis1=0, axis2=1)
dask/array/creation.py:691
↓ 2 callersFunctiondigit
>>> digit(1234, 0, 10) 4 >>> digit(1234, 1, 10) 3 >>> digit(1234, 2, 10) 2 >>> digit(1234, 3, 10) 1
dask/utils.py:1143
↓ 2 callersMethoddispatch
Return the desired backend entrypoint
dask/backends.py:93
↓ 2 callersFunctiondispatch_property
Wrap a simple property.
dask/array/tests/test_dispatch.py:29
↓ 2 callersMethoddistinct
Distinct elements of collection Unordered without repeats. Parameters ---------- key: {callable,str} Def
dask/bag/core.py:980
↓ 2 callersFunctiondivide_to_width
Minimally divide the given chunks so as to make the largest chunk width less or equal than *max_width*.
dask/array/rechunk.py:432
↓ 2 callersFunctiondot
(a, b)
dask/array/routines.py:352
↓ 2 callersFunctiondumpCode
* Dump a JS config object to a set of dot notation Python examples. * * @param {string} config - Config object * @return {string} Python dot notati
docs/source/_static/config_converter.js:207
↓ 2 callersFunctiondumpEnv
* Dump a JS config object to a set of environment variable declarations. * * @param {string} config - Config object * @return {string} environment
docs/source/_static/config_converter.js:167
↓ 2 callersFunctiondumpYAML
* Dump a JS config object to a YAML string. * * @param {string} config - Config object * @return {str} YAML configuration
docs/source/_static/config_converter.js:153
↓ 2 callersFunctionelemwise
Elementwise operation for Dask dataframes Parameters ---------- op: callable Function to apply across input dataframes *args:
dask/dataframe/dask_expr/_collection.py:6391
↓ 2 callersMethodempty
(*args, **kwargs)
dask/array/cupy_entry_point.py:61
↓ 2 callersFunctionempty_like
Return a new array with the same shape and type as a given array. Parameters ---------- a : array_like The shape and data-ty
dask/array/creation.py:60
↓ 2 callersFunctionengine
(request)
dask/dataframe/io/tests/test_parquet.py:58
↓ 2 callersFunctionensure_cleanup_on_exception
Ensure a partd.File is cleaned up. We have several tasks referring to a `partd.File` instance. We want to ensure that the file is cleaned up
dask/dataframe/shuffle.py:216
↓ 2 callersFunctionensure_minimum_chunksize
Determine new chunks to ensure that every chunk >= size Parameters ---------- size: int The maximum size of any chunk. chunks
dask/array/overlap.py:319
↓ 2 callersFunctionensure_removed
Ensure that an attribute added to 'obj' during the test is removed when we're done
dask/dataframe/tests/test_accessors.py:16
↓ 2 callersFunctionestimate_graph_size
Estimate the graph size during a rechunk computation.
dask/array/rechunk.py:418
↓ 2 callersMethodexpand
(self)
dask/array/_array_expr/_slicing.py:440
↓ 2 callersFunctionexpand_tuple
>>> expand_tuple((2, 4), 2) (1, 1, 2, 2) >>> expand_tuple((2, 4), 3) (1, 1, 1, 1, 2) >>> expand_tuple((3, 4), 2) (1, 2, 2,
dask/array/reshape.py:229
↓ 2 callersMethodexplode
(self, column)
dask/dataframe/dask_expr/_collection.py:3305
↓ 2 callersMethodexponential
(self, scale=1.0, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:147
↓ 2 callersFunctionextra_titles
(doc)
dask/utils.py:824
↓ 2 callersMethodextract_filesystem
Extract filesystem object from urlpath or user arguments This classmethod should only be overridden for engines that need to handle f
dask/dataframe/io/parquet/utils.py:19
↓ 2 callersMethodextract_pq_filters
(cls, pq_expr: ReadParquet, predicate_expr: Expr)
dask/dataframe/dask_expr/io/parquet.py:1662
↓ 2 callersFunctionf
(x, y, z=0)
dask/dataframe/dask_expr/tests/test_collection.py:388
↓ 2 callersFunctionf
(partition, by_columns, ascending, na_position, **kwargs)
dask/dataframe/tests/test_shuffle.py:1178
↓ 2 callersFunctionf
()
dask/tests/test_tokenize.py:517
↓ 2 callersFunctionf2
(x)
dask/tests/test_tokenize.py:414
↓ 2 callersMethodfillna
(self, value=None, axis=None)
dask/dataframe/dask_expr/_collection.py:2015
↓ 2 callersMethodfinalize_compute
(self)
dask/_expr.py:1028
↓ 2 callersFunctionfinish_task
Update execution state after a task finishes Mutates. This should run atomically (with a lock).
dask/local.py:290
↓ 2 callersMethodfoldby
Combined reduction and groupby. Foldby provides a combined groupby and reduce for efficient parallel split-apply-combine tasks.
dask/bag/core.py:1236
↓ 2 callersFunctionfoo
(x)
dask/array/tests/test_gufunc.py:37
↓ 2 callersFunctionformat_time
format integers as time >>> from dask.utils import format_time >>> format_time(1) '1.00 s' >>> format_time(0.001234) '1.23 ms'
dask/utils.py:1658
↓ 2 callersFunctionfractional_slice
>>> fractional_slice(('x', 5.1), {0: 2}) (<built-in function getitem>, ('x', 5), (slice(-2, None, None),)) >>> fractional_slice(('x', 3
dask/layers.py:323
↓ 2 callersFunctionfunc
(input, size=0)
dask/dataframe/io/tests/test_io.py:799
↓ 2 callersMethodfunc
(self)
dask/array/_array_expr/_blockwise.py:305
↓ 2 callersFunctionfunctions_of
Set of functions contained within nested task Examples -------- >>> inc = lambda x: x + 1 >>> add = lambda x, y: x + y >>> mul =
dask/optimization.py:378
↓ 2 callersMethodge
(self, other, level=None, fill_value=None, axis=0)
dask/dataframe/dask_expr/_collection.py:4261
↓ 2 callersFunctiongen
(i)
dask/tests/test_expr.py:133
↓ 2 callersMethodget_all_dependencies
Get dependencies of all keys This will in most cases materialize all layers, which makes it an expensive operation. Returns
dask/highlevelgraph.py:609
↓ 2 callersMethodget_dependencies
Get dependencies of `key` in the layer Parameters ---------- key: The key to find dependencies of all_hlg
dask/highlevelgraph.py:184
↓ 2 callersFunctionget_environment
()
dask/widgets/widgets.py:26
↓ 2 callersFunctionget_named_args
Get all non ``*args/**kwargs`` arguments for a function
dask/utils.py:700
↓ 2 callersMethodget_output_keys
Return a set of all output keys Output keys are all keys in the layer that might be referenced by other layers. Classes over
dask/highlevelgraph.py:111
↓ 2 callersFunctiongetmaskarray
(a)
dask/array/ma.py:116
↓ 2 callersFunctiongrid_points
(chunks, sizes)
dask/array/svg.py:268
↓ 2 callersMethodgt
(self, other, level=None, fill_value=None, axis=0)
dask/dataframe/dask_expr/_collection.py:4258
↓ 2 callersFunctiongufoo
(x)
dask/array/tests/test_gufunc.py:350
↓ 2 callersFunctionhash_buffer
Hash a bytes-like (buffer-compatible) object. This function returns a good quality hash but is not cryptographically secure. The fastest
dask/hashing.py:73
↓ 2 callersFunctionhlg_layer_topological
Get the layer from a HighLevelGraph at position ``i``, topologically
dask/utils_test.py:149
↓ 2 callersFunctionignore_numpy_bool8_deprecation
()
dask/dataframe/tests/test_reshape.py:96
↓ 2 callersMethodimag
(self)
dask/array/_array_expr/_collection.py:595
↓ 2 callersFunctioninsert
>>> insert(('a', 'b', 'c'), 0, 'x') ('x', 'b', 'c')
dask/utils.py:1158
↓ 2 callersFunctionis_any_real_numeric_dtype
(arr_or_dtype)
dask/_pandas_compat.py:154
↓ 2 callersMethodis_materialized
Return whether the layer is materialized or not
dask/highlevelgraph.py:106
↓ 2 callersFunctionis_object_string_series
(x)
dask/dataframe/_pyarrow.py:36
↓ 2 callersFunctionis_string_dtype
(arr_or_dtype)
dask/_pandas_compat.py:158
↓ 2 callersFunctionis_valid_array_chunk
Check if given array is of a valid type to operate with
dask/array/chunk_types.py:155
↓ 2 callersFunctionis_valid_chunk_type
Check if given type is a valid chunk and downcast array type
dask/array/chunk_types.py:145
↓ 2 callersMethodisna
(self)
dask/dataframe/dask_expr/_collection.py:1929
↓ 2 callersFunctionisnonzero
Handle special cases where conversion to bool does not work correctly. xref: https://github.com/numpy/numpy/issues/9479
dask/array/routines.py:2129
↓ 2 callersMethoditer_matches
A generator that lazily finds matchings for term from the RuleSet. Parameters ---------- term : task Yields
dask/rewrite.py:283
↓ 2 callersMethoditerrows
(self)
dask/dataframe/dask_expr/_collection.py:2740
↓ 2 callersFunctionlazify
Remove unnecessary calls to ``list`` in tasks. See Also -------- dask.bag.core.lazify_task
dask/bag/core.py:151
↓ 2 callersFunctionlazify_task
Given a task, remove unnecessary calls to ``list`` and ``reify``. This traverses tasks and small lists. We choose not to traverse down list
dask/bag/core.py:90
↓ 2 callersMethodle
(self, other, level=None, fill_value=None, axis=0)
dask/dataframe/dask_expr/_collection.py:4255
↓ 2 callersMethodload_statistics
(self, files=None, fragments=None)
dask/dataframe/dask_expr/io/parquet.py:926
↓ 2 callersFunctionload_store_chunk
A function inserted in a Dask graph for storing a chunk. Parameters ---------- x: array-like An array (potentially a NumPy o
dask/array/core.py:4762
↓ 2 callersFunctionlol_tuples
List of list of tuple keys Parameters ---------- head : tuple The known tuple so far ind : Iterable An iterable of in
dask/blockwise.py:1040
↓ 2 callersMethodlt
(self, other, level=None, fill_value=None, axis=0)
dask/dataframe/dask_expr/_collection.py:4252
↓ 2 callersFunctionmakeDataFrame
()
dask/_pandas_compat.py:51
↓ 2 callersFunctionmake_block_sorted_slices
Generate blockwise-sorted index pairs for shuffling an array. Parameters ---------- index : ndarray An array of index positions.
dask/array/slicing.py:1157
↓ 2 callersFunctionmake_dataframe_part
(index_dtype, start, end, dtypes, columns, state_data, kwargs)
dask/dataframe/io/demo.py:301
↓ 2 callersFunctionmap_overlap
Map a function over blocks of arrays with some overlap We share neighboring zones between blocks of the array, map a function, and then trim
dask/array/overlap.py:501
↓ 2 callersFunctionmap_overlap
Map a function over blocks of arrays with some overlap We share neighboring zones between blocks of the array, map a function, and then trim
dask/array/_array_expr/_overlap.py:515
↓ 2 callersMethodmap_overlap
Map a function over blocks of the array with some overlap Refer to :func:`dask.array.map_overlap` for full documentation. See Also
dask/array/core.py:2744
↓ 2 callersFunctionmean
(a, axis=None, dtype=None, keepdims=False, split_every=None, out=None)
dask/array/reductions.py:386
↓ 2 callersMethodmean
(self, skipna=True, numeric_only=False, split_every=False, axis=0)
dask/dataframe/dask_expr/_expr.py:300
↓ 2 callersMethodmedian
(self, axis=0, numeric_only=False)
dask/dataframe/dask_expr/_collection.py:3881
↓ 2 callersMethodmelt
( self, id_vars=None, value_vars=None, var_name=None, value_name="valu
dask/dataframe/dask_expr/_collection.py:4072
↓ 2 callersFunctionmemory_repr
(num)
dask/utils.py:1169
↓ 2 callersMethodmemory_usage
(self, deep=False, index=True)
dask/dataframe/dask_expr/_collection.py:3138
↓ 2 callersFunctionmergeDeep
* Deep merge a set of objects * * @param {list} objects - Objects to be merged (wrapped arguments) * @return {object} Merged object * * @example
docs/source/_static/config_converter.js:282
↓ 2 callersFunctionmerge_to_number
Minimally merge the given chunks so as to drop the number of chunks below *max_number*, while minimizing the largest width.
dask/array/rechunk.py:447
↓ 2 callersFunctionmeshgrid
(*xi, sparse=False, indexing="xy", **kwargs)
dask/array/creation.py:471
↓ 2 callersMethodmode
(self, dropna=True, split_every=False, numeric_only=False)
dask/dataframe/dask_expr/_collection.py:3670
↓ 2 callersFunctionmoment
(a, moment=1, axis=0, nan_policy="propagate")
dask/array/stats.py:410
↓ 2 callersFunctionmoment
(x, n, axis=None)
dask/array/tests/test_reductions.py:454
↓ 2 callersMethodmoment
Calculate the nth centralized moment. Refer to :func:`dask.array.moment` for the full documentation. See Also --------
dask/array/core.py:2709
↓ 2 callersFunctionmoment_agg
( pairs, order=2, ddof=0, dtype="f8", sum=np.sum, axis=None, computing_meta=False,
dask/array/reductions.py:511
↓ 2 callersFunctionmoment_chunk
( A, order=2, sum=chunk.sum, numel=numel, dtype="f8", computing_meta=False, implic
dask/array/reductions.py:427
↓ 2 callersFunctionmoment_combine
( pairs, order=2, ddof=0, dtype="f8", sum=np.sum, axis=None, computing_meta=False,
dask/array/reductions.py:467
↓ 2 callersMethodmultinomial
(self, n, pvals, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:231
↓ 2 callersFunctionmyopen
(path, *args, **kwargs)
dask/tests/test_system.py:115
↓ 2 callersFunctionn_preceding_from_1d_bool_index
Number of True index elements preceding position loc0. The index is the input assignment index that is defined in the namespace of th
dask/array/slicing.py:1622
↓ 2 callersFunctionndependencies
Number of total data elements on which this key depends For each key we return the number of tasks that must be run for us to run this task.
dask/order.py:705
↓ 2 callersMethodndim
(self)
dask/array/_array_expr/_expr.py:32
↓ 2 callersMethodne
(self, other, level=None, fill_value=None, axis=0)
dask/dataframe/dask_expr/_collection.py:4264
← previousnext →1,001–1,100 of 9,157, ranked by callers