MCPcopy Create free account

hub / github.com/dask/dask / functions

Functions9,157 in github.com/dask/dask

↓ 9 callersFunctionget_specified_shuffle
(shuffle_method)
dask/dataframe/dask_expr/_util.py:202
↓ 9 callersFunctiongraph_from_arraylike
HighLevelGraph for slicing chunks from an array-like according to a chunk pattern. If ``inline_array`` is True, this make a Blockwise layer
dask/array/core.py:267
↓ 9 callersFunctionhandle_out
Handle out parameters If out is a dask.array then this overwrites the contents of that array with the result
dask/array/core.py:5246
↓ 9 callersFunctionintersect_chunks
Make dask.array slices as intersection of old and new chunks. >>> intersections = intersect_chunks(((4, 4), (2,)), ...
dask/array/rechunk.py:218
↓ 9 callersFunctionis_empty
Duck-typed check for “emptiness” of an object. Works for standard sequences (lists, tuples, etc.), NumPy arrays, and sparse-like objects
dask/utils.py:2324
↓ 9 callersMethoditertuples
(self, index=True, name="Pandas")
dask/dataframe/dask_expr/_collection.py:2747
↓ 9 callersMethodkeys
Get all keys of all the layers. This will in many cases materialize layers, which makes it a relatively expensive operation. See :met
dask/highlevelgraph.py:572
↓ 9 callersFunctionlist_eq
(aa, bb)
dask/dataframe/tests/test_multi.py:50
↓ 9 callersMethodmean
Returns the average of the array elements along given axis. Refer to :func:`dask.array.mean` for full documentation. See Also
dask/array/core.py:2643
↓ 9 callersMethodnormal
(self, loc=0.0, scale=1.0, size=None, chunks="auto", **kwargs)
dask/array/random.py:291
↓ 9 callersMethodnotnull
(self)
dask/dataframe/dask_expr/_collection.py:2308
↓ 9 callersMethodoptimize
(self)
dask/array/_array_expr/_expr.py:110
↓ 9 callersFunctionpersist
Persist multiple Dask collections into memory This turns lazy Dask collections into Dask collections with the same metadata, but now with the
dask/base.py:1016
↓ 9 callersMethodprod
(self)
dask/dataframe/tseries/resample.py:317
↓ 9 callersFunctionrandom_state_data
Return a list of arrays that can initialize ``np.random.RandomState``. Parameters ---------- n : int Number of arrays to retu
dask/utils.py:542
↓ 9 callersFunctionshuffle
Reorders one dimensions of a Dask Array based on an indexer. The indexer defines a list of positional groups that will end up in the same ch
dask/array/_shuffle.py:20
↓ 9 callersFunctionslice_array
slice_with_newaxis : handle None/newaxis case slice_wrap_lists : handle fancy indexing with lists slice_slices_and_integers : handle ever
dask/array/_array_expr/_slicing.py:225
↓ 9 callersFunctionsubs
Perform a substitution on a task Examples -------- >>> def inc(x): ... return x + 1 >>> subs((inc, 'x'), 'x', 1) # doctest:
dask/core.py:323
↓ 9 callersFunctionto_graphviz
( dsk, data_attributes=None, function_attributes=None, rankdir="BT", graph_attr=None,
dask/dot.py:126
↓ 9 callersMethodto_textfiles
( self, path, name_function=None, compression="infer", encoding=system
dask/bag/core.py:818
↓ 9 callersMethodtranspose
Reverse or permute the axes of an array. Return the modified array. Refer to :func:`dask.array.transpose` for full documentation. Se
dask/array/core.py:2206
↓ 9 callersMethodtranspose
(self, axes=None)
dask/array/_array_expr/_collection.py:318
↓ 8 callersMethod__dask_keys__
(self)
dask/bag/core.py:495
↓ 8 callersMethod_blockwise_arg
Return a Blockwise-task argument
dask/dataframe/dask_expr/_expr.py:610
↓ 8 callersMethod_create_alignable_frame
(self, other, join="outer")
dask/dataframe/dask_expr/_collection.py:2070
↓ 8 callersFunction_get_like_function_shapes_chunks
Helper function for finding shapes and chunks for *_like() array creation functions.
dask/array/creation.py:292
↓ 8 callersFunction_make_file
(dir, df=None, filename="myfile.parquet", **kwargs)
dask/dataframe/dask_expr/io/tests/test_parquet.py:26
↓ 8 callersFunction_raise_if_object_series
Utility function to raise an error if an object column does not support a certain operation like `mean`.
dask/dataframe/dask_expr/_util.py:173
↓ 8 callersMethodall
Are all elements truthy? Examples -------- >>> import dask.bag as db >>> bool_bag = db.from_sequence([True, True, Fal
dask/bag/core.py:1101
↓ 8 callersFunctionapply_infer_dtype
Tries to infer output dtype of ``func`` for a small set of input arguments. Parameters ---------- func: Callable Function fo
dask/array/core.py:443
↓ 8 callersFunctionarange
Return evenly spaced values from `start` to `stop` with step size `step`. The values are half-open [start, stop), so including start and exc
dask/array/creation.py:385
↓ 8 callersFunctionarray_safe
If `a` is `dask.array`, return `dask.array.asarray(a, **kwargs)`, otherwise return `np.asarray(a, like=like, **kwargs)`, dispatching the
dask/array/utils.py:470
↓ 8 callersMethodas_unknown
Ensure the categories in this series are unknown
dask/dataframe/dask_expr/_categorical.py:87
↓ 8 callersMethodclip
(self, lower=None, upper=None, axis=None)
dask/dataframe/dask_expr/_expr.py:363
↓ 8 callersFunctioncollect_yaml
( paths: Sequence[str], *, return_paths: Literal[False] = False )
dask/config.py:198
↓ 8 callersFunctionconcatenate3
Recursive np.concatenate Input should be a nested list of numpy arrays arranged in the order they should appear in the array itself. Each ar
dask/array/core.py:5630
↓ 8 callersMethoddependencies
(self)
dask/_expr.py:226
↓ 8 callersMethoddtype
(self)
dask/array/_array_expr/_expr.py:40
↓ 8 callersMethodfilter
Filter elements in collection by a predicate function. >>> def iseven(x): ... return x % 2 == 0 >>> import dask.bag as d
dask/bag/core.py:655
↓ 8 callersFunctionfrom_dict
Construct a Dask DataFrame from a Python Dictionary Parameters ---------- data : dict Of the form {field : array-like} or {f
dask/dataframe/dask_expr/_collection.py:5035
↓ 8 callersMethodget_group
(self, key)
dask/dataframe/dask_expr/_groupby.py:1651
↓ 8 callersFunctionglobalmethod
Allow function to be taken over by globals This modifies a method so that occurrences of it may be taken over by functions registered in the
dask/context.py:18
↓ 8 callersFunctionhas_keyword
(func, keyword)
dask/utils.py:1897
↓ 8 callersMethodmean
Arithmetic mean
dask/bag/core.py:1125
↓ 8 callersFunctionmeta_series_constructor
Return a serial Series constructor Parameters ---------- like : Any series-like, Index-like or dataframe-like object.
dask/dataframe/utils.py:743
↓ 8 callersMethodnonzero
Return the indices of the elements that are non-zero. Refer to :func:`dask.array.nonzero` for full documentation. See Also -
dask/array/core.py:2991
↓ 8 callersFunctionnormalize_text
(s)
dask/dataframe/io/tests/test_csv.py:45
↓ 8 callersMethodsqueeze
Remove axes of length one from array. Refer to :func:`dask.array.squeeze` for full documentation. See Also --------
dask/array/core.py:2785
↓ 8 callersMethodstd
Returns the standard deviation of the array elements along given axis. Refer to :func:`dask.array.std` for full documentation. See A
dask/array/_array_expr/_collection.py:383
↓ 8 callersFunctionto_numeric
Return type depends on input. Delayed if scalar, otherwise same as input. For errors, only "raise" and "coerce" are allowed.
dask/dataframe/dask_expr/_collection.py:6093
↓ 8 callersMethoduniform
(self, low=0.0, high=1.0, size=None, chunks="auto", **kwargs)
dask/array/random.py:368
↓ 8 callersFunctionunique
(x, series_name=None)
dask/dataframe/methods.py:353
↓ 8 callersFunctionunpack_collections
Extract collections in preparation for compute/persist/etc... Intended use is to find all collections in a set of (possibly nested) python ob
dask/base.py:515
↓ 8 callersFunctionupdate
Update a nested dictionary with values from another This is like dict.update except that it smoothly merges nested values This operates in-p
dask/config.py:83
↓ 8 callersFunctionwith_spec
Generate a random dataset according to provided spec Parameters ---------- spec : DatasetSpec Specify all the parameters of the d
dask/dataframe/io/demo.py:415
↓ 7 callersFunction_connecting_to_roots
Determine for every node which root nodes are connected to it (i.e. ancestors). If arguments of dependencies and dependents are switched, this
dask/order.py:618
↓ 7 callersMethod_filter_simplification
(self, parent, predicate=None)
dask/dataframe/dask_expr/_expr.py:502
↓ 7 callersFunction_groupby_raise_unaligned
Groupby, but raise if df and `by` key are unaligned. Pandas supports grouping by a column that doesn't align with the input frame/series/inde
dask/dataframe/groupby.py:57
↓ 7 callersFunction_make_file
(dir, format="parquet", df=None)
dask/dataframe/dask_expr/io/tests/test_io.py:34
↓ 7 callersFunction_normalize_seq_func
(seq: Iterable[object])
dask/tokenize.py:142
↓ 7 callersMethodadd_suffix
(self, suffix)
dask/dataframe/dask_expr/_collection.py:4463
↓ 7 callersMethodalign
(self, other, join="outer", axis=None, fill_value=None)
dask/dataframe/dask_expr/_expr.py:411
↓ 7 callersMethodall
Returns True if all elements evaluate to True. Refer to :func:`dask.array.all` for full documentation. See Also --------
dask/array/core.py:2520
↓ 7 callersFunctionallclose
(a, b, equal_nan=False, **kwargs)
dask/array/utils.py:176
↓ 7 callersMethodargmin
Return indices of the minimum values along the given axis. Refer to :func:`dask.array.argmin` for full documentation. See Also
dask/array/core.py:2559
↓ 7 callersMethodbfill
(self, limit=None, shuffle_method=None)
dask/dataframe/dask_expr/_groupby.py:1790
↓ 7 callersFunctionbroadcast_shapes
Determines output shape from broadcasting arrays. Parameters ---------- shapes : tuples The shapes of the arguments. Re
dask/array/core.py:5054
↓ 7 callersFunctionclone_key
Clone a key from a Dask collection, producing a new key with the same prefix and indices and a token which is a deterministic function of the prev
dask/base.py:1406
↓ 7 callersFunctionconcat
Concatenate, handling some edge cases: - Unions categoricals between partitions - Ignores empty partitions Parameters ----------
dask/dataframe/dispatch.py:34
↓ 7 callersMethodcorr
( self, split_every=None, split_out=None, numeric_only=False, shuffle_method=None )
dask/dataframe/dask_expr/_groupby.py:1764
↓ 7 callersMethodffill
(self, limit=None, shuffle_method=None)
dask/dataframe/dask_expr/_groupby.py:1784
↓ 7 callersFunctionfrom_dask_array
Create a Dask DataFrame from a Dask Array. Converts a 2d array into a DataFrame and a 1d array into a Series. Parameters ----------
dask/dataframe/dask_expr/_collection.py:5087
↓ 7 callersFunctionfrom_graph
(layer, _meta, divisions, keys, name_prefix)
dask/dataframe/dask_expr/_collection.py:5020
↓ 7 callersFunctionfunc2
(*args)
dask/tests/test_task_spec.py:52
↓ 7 callersFunctionget
(dsk, keys, *args, **kwargs)
dask/tests/test_base.py:922
↓ 7 callersFunctionget_engine
Get the parquet engine backend implementation. Parameters ---------- engine : {'auto', 'pyarrow'} or Engine subclass Parquet libr
dask/dataframe/io/parquet/core.py:362
↓ 7 callersFunctionget_template
(name: str)
dask/widgets/widgets.py:34
↓ 7 callersMethodidxmax
(self, skipna=True, numeric_only=False, split_every=False)
dask/dataframe/dask_expr/_expr.py:323
↓ 7 callersFunctionimport_optional_dependency
( name: str, extra: str = "", min_version: str | None = None, *, errors: Literal["raise"]
dask/_compatibility.py:50
↓ 7 callersFunctioninline_functions
Inline cheap functions into larger operations Examples -------- >>> inc = lambda x: x + 1 >>> add = lambda x, y: x + y >>> double
dask/optimization.py:307
↓ 7 callersFunctionmerge
Update a sequence of nested dictionaries This prefers the values in the latter dictionaries to those in the former Examples --------
dask/config.py:153
↓ 7 callersFunctionmeta_frame_constructor
Return a serial DataFrame constructor Parameters ---------- like : Any series-like, Index-like or dataframe-like object.
dask/dataframe/utils.py:720
↓ 7 callersMethodmin
Minimum element
dask/bag/core.py:1085
↓ 7 callersMethodnunique
(self, dropna=True, split_every=False, split_out=True)
dask/dataframe/dask_expr/_collection.py:4331
↓ 7 callersFunctionold_to_new
Helper to build old_chunks to new_chunks. Handles missing values, as long as the dimension with the missing chunk values is unchanged. N
dask/array/rechunk.py:159
↓ 7 callersMethodoptimize
(self, fuse: bool = False)
dask/_expr.py:437
↓ 7 callersFunctionoverlap
Share boundaries between neighboring blocks Parameters ---------- x: da.Array A dask array depth: dict The size of t
dask/array/_array_expr/_overlap.py:390
↓ 7 callersFunctionpandas_read_text
Convert a block of bytes to a Pandas DataFrame Parameters ---------- reader : callable ``pd.read_csv`` or ``pd.read_table``.
dask/dataframe/io/csv.py:39
↓ 7 callersMethodpersist
(self, **kwargs)
dask/array/_array_expr/_collection.py:83
↓ 7 callersMethodpluck
Select item from all tuples/dicts in collection. >>> import dask.bag as db >>> b = db.from_sequence([{'name': 'Alice', 'credits': [1,
dask/bag/core.py:771
↓ 7 callersMethodread_orc
Read ORC files into a DataFrame collection Parameters ---------- path : str or list Source path(s). **kwa
dask/dataframe/backends.py:120
↓ 7 callersMethodrename_axis
( self, mapper=no_default, index=no_default, columns=no_default, axis=0 )
dask/dataframe/dask_expr/_expr.py:406
↓ 7 callersMethodround
Return array with each element rounded to the given number of decimals. Refer to :func:`dask.array.round` for full documentation. Se
dask/array/core.py:2931
↓ 7 callersMethodseed
(self, seed=None)
dask/array/random.py:532
↓ 7 callersFunctionstack
Stack arrays along a new axis Given a sequence of dask arrays, form a new dask array by stacking them along a new dimension (axis=0 by d
dask/array/core.py:5510
↓ 7 callersFunctionstart_state_from_dask
Start state from a dask Examples -------- >>> inc = lambda x: x + 1 >>> add = lambda x, y: x + y >>> dsk = {'x': 1, 'y': 2, 'z':
dask/local.py:144
↓ 7 callersMethodsubmit
(self, fn, *args, **kwargs)
dask/local.py:575
↓ 7 callersMethodsubstitute
( self, subs: dict[KeyType, KeyType | GraphNode], key: KeyType | None = None )
dask/_task_spec.py:791
↓ 7 callersMethodsubstitute_parameters
Substitute specific `Expr` parameters Parameters ---------- substitutions: Mapping of parameter keys to new value
dask/_expr.py:665
↓ 7 callersMethodtransform
Parallel version of pandas GroupBy.transform This mimics the pandas version except for the following: 1. If the grouper does not al
dask/dataframe/dask_expr/_groupby.py:2043
← previousnext →301–400 of 9,157, ranked by callers