MCPcopy Create free account

hub / github.com/dask/dask / functions

Functions9,157 in github.com/dask/dask

↓ 36 callersMethodkeys
(self)
dask/dataframe/dask_expr/_expr.py:1995
↓ 35 callersMethodmap
Apply a function elementwise across one or more bags. Note that all ``Bag`` arguments must be partitioned identically. Parameters
dask/bag/core.py:526
↓ 35 callersMethodnormal
(self, loc=0.0, scale=1.0, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:277
↓ 34 callersFunction_backend_library
()
dask/dataframe/dask_expr/tests/_util.py:16
↓ 34 callersFunctionconcat
Concatenate many bags together, unioning all elements. >>> import dask.bag as db >>> a = db.from_sequence([1, 2, 3]) >>> b = db.from_sequ
dask/bag/core.py:1857
↓ 34 callersMethodmean
(self)
dask/dataframe/tseries/resample.py:321
↓ 34 callersFunctionread_parquet
Read a Parquet file into a Dask DataFrame This reads a directory of Parquet data into a Dask.dataframe, one file per partition. It sele
dask/dataframe/dask_expr/_collection.py:5140
↓ 33 callersFunctionassert_eq
(a, b, scheduler="sync")
dask/bag/utils.py:4
↓ 33 callersMethodkeys
(*args)
dask/array/core.py:1406
↓ 33 callersMethodto_csv
See dd.to_csv docstring for more information
dask/dataframe/dask_expr/_collection.py:2446
↓ 32 callersMethodfrom_delayed
Create bag item from a dask.delayed value. See ``dask.bag.from_delayed`` for details
dask/bag/core.py:408
↓ 32 callersFunctionget
Threaded cached implementation of dask.get Parameters ---------- dsk: dict A dask dictionary specifying a workflow keys: key
dask/threaded.py:62
↓ 32 callersMethodremove
Remove elements in collection that match predicate. >>> def iseven(x): ... return x % 2 == 0 >>> import dask.bag as db
dask/bag/core.py:709
↓ 31 callersMethodrolling
Provides rolling transformations. .. note:: Since MultiIndexes are not well supported in Dask, this method returns a
dask/dataframe/dask_expr/_groupby.py:2141
↓ 31 callersMethodsum
Return the sum of the array elements over the given axis. Refer to :func:`dask.array.sum` for full documentation. See Also
dask/array/core.py:2589
↓ 30 callersMethodRandomState
Return the backend-specific RandomState class For example, the 'numpy' backend simply returns ``numpy.random.RandomState``.
dask/array/backends.py:348
↓ 30 callersMethodvalues
(self)
dask/highlevelgraph.py:606
↓ 29 callersFunctionasanyarray
Convert the input to a dask array. Subclasses of ``np.ndarray`` will be passed through as chunks unchanged. Parameters ---------- a
dask/array/core.py:4936
↓ 29 callersFunctionblockwise
Tensor operation: Generalized inner and outer products A broad class of blocked algorithms and patterns can be specified with a concise multi
dask/array/blockwise.py:17
↓ 29 callersMethodclear_divisions
(self)
dask/dataframe/dask_expr/_expr.py:3464
↓ 29 callersFunctionfiletext
(text, extension="", open=open, mode="w")
dask/utils.py:413
↓ 29 callersMethodmap_partitions
Apply a function to every partition across one or more bags. Note that all ``Bag`` arguments must be partitioned identically. Parame
dask/bag/core.py:728
↓ 29 callersFunctionread_bytes
Given a path or paths, return delayed objects that read from those paths. The path may be a filename like ``'2015-01-01.csv'`` or a globstring
dask/bytes/core.py:14
↓ 29 callersMethodrechunk
Convert blocks in dask array x for new chunks. Refer to :func:`dask.array.rechunk` for full documentation. See Also --------
dask/array/core.py:2798
↓ 29 callersMethodskip
Skip over all subterms of the current level in the traversal
dask/rewrite.py:85
↓ 28 callersMethoddrop_duplicates
( self, ignore_index=False, split_every=None, split_out=True, shuffle_
dask/dataframe/dask_expr/_collection.py:4341
↓ 28 callersMethodempty
Create an empty array Returns an uninitialized array having a specified shape.
dask/array/backends.py:380
↓ 28 callersMethodflatten
Concatenate nested lists into one long list. >>> import dask.bag as db >>> b = db.from_sequence([[1], [2, 3]]) >>> list(b)
dask/bag/core.py:1474
↓ 28 callersFunctionis_arraylike
Is this object a numpy array or something similar? This function tests specifically for an object that already has array attributes (e.g. np.
dask/utils.py:1470
↓ 28 callersFunctionis_index_like
Looks like a Pandas Index
dask/utils.py:1539
↓ 27 callersMethod__dask_graph__
(self)
dask/tests/test_base.py:247
↓ 27 callersMethoddrop
(self, labels=None, axis=0, columns=None, errors="raise")
dask/dataframe/dask_expr/_collection.py:3310
↓ 27 callersFunctionfrom_array
Create dask array from something that looks like an array. Input must have a ``.shape``, ``.ndim``, ``.dtype`` and support numpy-style slicing.
dask/array/core.py:3468
↓ 26 callersMethod__dask_graph__
(self)
dask/dataframe/dask_expr/_collection.py:546
↓ 26 callersMethodany
Returns True if any of the elements evaluate to True. Refer to :func:`dask.array.any` for full documentation. See Also -----
dask/array/core.py:2507
↓ 26 callersMethodclear
Clear out old results from profiler
dask/diagnostics/profile.py:110
↓ 26 callersMethodshuffle
Rearrange DataFrame into new partitions Uses hashing of `on` to map rows to output partitions. After this operation, rows with the sa
dask/dataframe/dask_expr/_collection.py:844
↓ 25 callersFunctioncollections_to_expr
Convert many collections into a single dask expression. Typically, users should not be required to interact with this function. Paramet
dask/base.py:428
↓ 25 callersMethodcount
Count the number of elements. Examples -------- >>> import dask.bag as db >>> numbers = db.from_sequence([1, 2, 3])
dask/bag/core.py:1113
↓ 25 callersMethodcount
(self)
dask/dataframe/tseries/resample.py:309
↓ 25 callersMethoddispatch
Return the function implementation for the given ``cls``
dask/utils.py:744
↓ 25 callersMethodfull
Create a uniformly filled array Returns a new array having a specified shape and filled with fill_value.
dask/array/backends.py:388
↓ 25 callersFunctionfunc
(a, s=None, axes=None, norm=None)
dask/array/fft.py:169
↓ 25 callersMethodvalue_counts
( self, sort=None, ascending=False, dropna=True, normalize=False,
dask/dataframe/dask_expr/_collection.py:4271
↓ 24 callersMethodagg
(self, func, *args, **kwargs)
dask/dataframe/tseries/resample.py:373
↓ 24 callersFunctionconcatenate
Concatenate arrays along an existing axis Given a sequence of dask Arrays form a new dask Array by stacking them along an existing dimen
dask/array/core.py:4618
↓ 24 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/_array_expr/_collection.py:666
↓ 24 callersMethodref
(self)
dask/_task_spec.py:384
↓ 24 callersMethodsum
Sum all elements
dask/bag/core.py:1077
↓ 24 callersMethodwalk
Iterate over x, yielding (index, value, entering), where * ``index``: a tuple of indices up to this point * ``value``: equal
dask/array/numpy_compat.py:133
↓ 23 callersFunctioncompute
(coll: DaskCollection)
dask/tests/test_typing.py:191
↓ 23 callersMethodread_hdf
Read HDF5 files into a DataFrame collection Parameters ---------- pattern : str or list Source path(s). k
dask/dataframe/backends.py:154
↓ 23 callersMethodto_hdf
See dd.to_hdf docstring for more information
dask/dataframe/dask_expr/_collection.py:2495
↓ 23 callersMethoduniform
(self, low=0.0, high=1.0, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:354
↓ 22 callersFunction_convert_to_list
(column)
dask/dataframe/dask_expr/_util.py:67
↓ 22 callersFunctiondetermine_column_projection
( expr: Expr, parent: Expr, dependents: dict[str, Collection[weakref.ref[BaseExpr]]], addition
dask/dataframe/dask_expr/_expr.py:3897
↓ 22 callersMethodmax
(self, skipna=True, numeric_only=False, split_every=False, axis=0)
dask/dataframe/dask_expr/_expr.py:309
↓ 22 callersMethodshuffle
Reorders one dimensions of a Dask Array based on an indexer. Refer to :func:`dask.array.shuffle` for full documentation. See Also
dask/array/core.py:2818
↓ 22 callersMethodstandard_normal
(self, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:340
↓ 22 callersMethodto_zarr
Save array to the zarr storage format See https://zarr.readthedocs.io for details about the format. Refer to :func:`dask.array.to_za
dask/array/core.py:3004
↓ 21 callersFunction_concat
(args, ignore_index=False)
dask/dataframe/core.py:36
↓ 21 callersFunctionasarray
Convert the input to a dask array. Parameters ---------- a : array-like Input data, in any form that can be converted to a dask a
dask/array/_array_expr/_collection.py:1205
↓ 21 callersMethodfind_operations
Search the expression graph for a specific operation type Parameters ---------- operation The operation type to s
dask/_expr.py:813
↓ 21 callersMethodgroupby
Group collection by key function This requires a full dataset read, serialization and shuffle. This is expensive. If possible you sh
dask/bag/core.py:1497
↓ 21 callersFunctionmerge
( left, right, how="inner", on=None, left_on=None, right_on=None, left_index=False
dask/dataframe/dask_expr/_collection.py:5594
↓ 21 callersMethodrandint
(self, low, high=None, size=None, chunks="auto", dtype="l", **kwargs)
dask/array/_array_expr/random.py:675
↓ 21 callersMethodravel
Return a flattened array. Refer to :func:`dask.array.ravel` for full documentation. See Also -------- dask.array.rav
dask/array/core.py:2227
↓ 21 callersFunctionreduction
General version of reductions Parameters ---------- x: Array Data being reduced along one or more axes chunk: callable(x_chun
dask/array/_reductions_generic.py:25
↓ 21 callersMethodreduction
Reduce collection with reduction operators. Parameters ---------- perpartition: function reduction to apply to ea
dask/bag/core.py:1007
↓ 21 callersMethodresample
(self, rule, closed=None, label=None)
dask/dataframe/dask_expr/_collection.py:957
↓ 21 callersMethodshift
Parallel version of pandas GroupBy.shift This mimics the pandas version except for the following: If the grouper does not align with
dask/dataframe/dask_expr/_groupby.py:2081
↓ 20 callersMethodcount
(self, numeric_only=False, split_every=False)
dask/dataframe/dask_expr/_expr.py:334
↓ 20 callersMethoddependencies
(self)
dask/dataframe/dask_expr/io/io.py:126
↓ 20 callersMethoddiff
.. note:: Pandas currently uses an ``object``-dtype column to represent boolean data with missing values. This can cau
dask/dataframe/dask_expr/_collection.py:2042
↓ 20 callersFunctiongenerator_class
(request)
dask/array/tests/test_random.py:18
↓ 20 callersFunctionis_scalar
(x)
dask/dataframe/utils.py:46
↓ 20 callersMethodmin
(self, skipna=True, numeric_only=False, split_every=False, axis=0)
dask/dataframe/dask_expr/_expr.py:331
↓ 20 callersMethodpersist
(self, **kwargs)
dask/tests/test_typing.py:79
↓ 20 callersFunctionread_sql_table
Read SQL database table into a DataFrame. If neither ``divisions`` or ``npartitions`` is given, the memory footprint of the first few ro
dask/dataframe/io/sql.py:195
↓ 20 callersFunctiontypename
Return the name of a type Examples -------- >>> typename(int) 'int' >>> from dask.core import literal >>> typename(lite
dask/utils.py:1050
↓ 19 callersMethod__dask_keys__
(self)
dask/array/core.py:1400
↓ 19 callersMethod_single_agg
( self, expr_cls, split_every=None, split_out=None, chunk_kwargs=None,
dask/dataframe/dask_expr/_groupby.py:1576
↓ 19 callersMethod_validate_axis
(cls, axis=0, numeric_axis: bool = True)
dask/dataframe/dask_expr/_collection.py:4422
↓ 19 callersMethodisin
(self, values)
dask/dataframe/dask_expr/_collection.py:731
↓ 19 callersMethodmean
Returns the average of the array elements along given axis. Refer to :func:`dask.array.mean` for full documentation. See Also
dask/array/_array_expr/_collection.py:363
↓ 19 callersMethodprod
Return the product of the array elements over the given axis Refer to :func:`dask.array.prod` for full documentation. See Also
dask/array/_array_expr/_collection.py:460
↓ 19 callersMethodtake
Take the first k elements. Parameters ---------- k : int The number of elements to return npartitions : i
dask/bag/core.py:1420
↓ 19 callersFunctionxfail
This fixture returns a function that, when called inside the test, XFAILs the currently running test. You should prefer using `@pytest.m
dask/conftest.py:40
↓ 18 callersFunctiondiagnostics
Simulate runtime metrics as though running tasks one at a time in order. These diagnostics can help reveal behaviors of and issues with ``order``
dask/order.py:766
↓ 18 callersFunctionget_dependencies
( dsk: Graph, key: Key | None = ..., task: Key | NoDefault = ..., as_list: Literal[False] = ..
dask/core.py:196
↓ 18 callersFunctionget_deps
Get dependencies and dependents from dask dask graph >>> inc = lambda x: x + 1 >>> dsk = {'a': 1, 'b': (inc, 'a'), 'c': (inc, 'b')} >>> d
dask/core.py:259
↓ 18 callersFunctionimport_required
Attempt to import a required dependency. Raises a RuntimeError if the requested module is not available.
dask/utils.py:322
↓ 18 callersMethodmap
Note that this method clears any known divisions. If your mapping function is monotonically increasing then use `is_monotonic`
dask/dataframe/dask_expr/_collection.py:4767
↓ 18 callersMethodregister
Register dispatch of `func` on arguments of type `type`
dask/utils.py:719
↓ 18 callersMethodsample
Random sample of items Parameters ---------- n : int, optional Number of items to return is not supported by dask
dask/dataframe/dask_expr/_collection.py:2578
↓ 18 callersMethodstd
(self)
dask/dataframe/tseries/resample.py:345
↓ 17 callersMethod__dask_keys__
(self)
dask/array/_array_expr/_expr.py:97
↓ 17 callersMethod_single_agg
(self, expr_cls, how_args=(), how_kwargs=None)
dask/dataframe/tseries/resample.py:297
↓ 17 callersFunctionasarray_safe
If a is dask.array, return dask.array.asarray(a, **kwargs), otherwise return np.asarray(a, like=like, **kwargs), dispatching the call to
dask/array/utils.py:486
↓ 17 callersFunctioncached_cumsum
Compute :meth:`toolz.accumulate` with caching. Caching is by the identify of `seq` rather than the value. It is thus important that `seq` is
dask/utils.py:2125
← previousnext →101–200 of 9,157, ranked by callers