MCPcopy Create free account

hub / github.com/dask/dask / functions

Functions9,170 in github.com/dask/dask

↓ 2 callersMethod_locations
(self)
dask/dataframe/dask_expr/io/io.py:529
↓ 2 callersFunction_lol_product
List of list of tuple keys, similar to `itertools.product`. Parameters ---------- head : tuple Prefix prepended to all results.
dask/blockwise.py:999
↓ 2 callersFunction_make_dims
Returns a dictionary mapping between each index specified in `indices` and the number of output blocks for that indice.
dask/blockwise.py:1504
↓ 2 callersFunction_make_file
(dir, df=None, filename="myfile.parquet", **kwargs)
dask/dataframe/dask_expr/io/tests/test_distributed.py:24
↓ 2 callersFunction_map_freq_to_period_start
Ensure that the frequency pertains to the **start** of a period. If e.g. `freq='M'`, then the divisions are: - 2021-31-1 00:00:00 (start
dask/dataframe/core.py:271
↓ 2 callersFunction_maybe_convert_string
(a, b)
dask/dataframe/utils.py:514
↓ 2 callersFunction_meta_apply_transform
(obj, grp_func)
dask/dataframe/dask_expr/_groupby.py:1288
↓ 2 callersMethod_modify_keys
(self, k)
dask/_expr.py:1437
↓ 2 callersFunction_moment_helper
(Ms, ns, inner_term, order, sum, axis, kwargs)
dask/array/reductions.py:457
↓ 2 callersFunction_normalize_pickle
(o: object)
dask/tokenize.py:233
↓ 2 callersFunction_numel
A reduction to count the number of elements. This has an additional kwarg in coerce_np_ndarray, which determines whether to ensure that
dask/array/backends.py:279
↓ 2 callersFunction_pandas_join
Mirror ``pandas.DataFrame.join`` across the lsuffix/rsuffix deprecation.
dask/dataframe/tests/test_multi.py:22
↓ 2 callersFunction_parse_gufunc_signature
Parse string signatures for a generalized universal function. Arguments --------- signature : string Generalized universal f
dask/array/_array_expr/_gufunc.py:32
↓ 2 callersFunction_percentile
(a, q, method="linear")
dask/array/percentile.py:19
↓ 2 callersMethod_predicate_columns
(self, predicate)
dask/dataframe/dask_expr/_merge.py:126
↓ 2 callersMethod_prepare_cov_corr
(self, min_periods, numeric_only)
dask/dataframe/dask_expr/_collection.py:1837
↓ 2 callersFunction_rebuild_composite_collection
Rebuild a collection that is represented by several child expressions. Collections using ``__dask_exprs__`` expose their children separately so t
dask/base.py:483
↓ 2 callersFunction_rechunk_merge_graph
()
dask/tests/test_order.py:88
↓ 2 callersFunction_rechunk_other_dimensions
( x: Array, longest_group: int, axis: int, chunks: Literal["auto"] )
dask/array/_shuffle.py:142
↓ 2 callersFunction_rename
Rename columns of pd.DataFrame or name of pd.Series. Not for dd.DataFrame or dd.Series. Parameters ---------- columns : tuple, s
dask/dataframe/core.py:118
↓ 2 callersFunction_repartition_from_boundaries
(bag, new_partitions_boundaries, new_name)
dask/bag/core.py:2733
↓ 2 callersMethod_repr_data
(self)
dask/dataframe/dask_expr/_collection.py:4119
↓ 2 callersFunction_repr_data_series
A helper for creating the ``_repr_data`` property
dask/dataframe/core.py:390
↓ 2 callersMethod_reset_cache
Reset cached properties. Parameters ---------- key : str, optional Remove specified key. The default rem
dask/array/core.py:1434
↓ 2 callersMethod_rewrite
Apply the rewrite rules in RuleSet to top level of term
dask/rewrite.py:304
↓ 2 callersFunction_sanitize_index_element
Sanitize a one-element index.
dask/array/slicing.py:24
↓ 2 callersFunction_sanity_checks
(x, shape)
dask/array/reshape.py:378
↓ 2 callersFunction_select_columns_or_index
Make a column selection that may include the index Parameters ---------- columns_or_index Column or index name, or a list of
dask/dataframe/dask_expr/_shuffle.py:633
↓ 2 callersFunction_set_parquet_engine
(engine=None, meta=None)
dask/dataframe/dask_expr/io/parquet.py:1506
↓ 2 callersFunction_setup_zarr_store
Set up a Zarr store for reading or writing, handling both Zarr v2 and v3. This function prepares a Zarr-compatible storage object (`store`)
dask/array/core.py:3890
↓ 2 callersFunction_shuffle
(chunks, indexer, axis, in_name, out_name, token)
dask/array/_shuffle.py:181
↓ 2 callersMethod_simplify_up
(self, parent, dependents)
dask/dataframe/dask_expr/_expr.py:1503
↓ 2 callersFunction_sort_and_analyze_paths
(file_list, fs, root=False)
dask/dataframe/io/parquet/utils.py:357
↓ 2 callersFunction_spawn_bitgens
(bitgen, n_bitgens)
dask/array/random.py:794
↓ 2 callersFunction_spawn_bitgens
(bitgen, n_bitgens)
dask/array/_array_expr/random.py:771
↓ 2 callersMethod_split
(self, method, pat=None, n=-1, expand=False)
dask/dataframe/dask_expr/_str_accessor.py:78
↓ 2 callersFunction_split_partitions
Split a Dask bag into new partitions Parameters ---------- bag: Dask bag nsplits: List[int] Number of target bags for each pa
dask/bag/core.py:2698
↓ 2 callersMethod_start_collect
(self)
dask/diagnostics/profile.py:172
↓ 2 callersMethod_stop_collect
(self)
dask/diagnostics/profile.py:178
↓ 2 callersFunction_tokenize
(*args: object, **kwargs: object)
dask/tokenize.py:33
↓ 2 callersFunction_toposort
(dsk, keys=None, returncycle=False, dependencies=None)
dask/core.py:362
↓ 2 callersMethod_tree_repr_lines
(self, indent=0, recursive=True)
dask/_expr.py:119
↓ 2 callersMethod_tree_repr_lines
(self, indent=0, recursive=True)
dask/dataframe/dask_expr/_expr.py:114
↓ 2 callersMethod_update_bar
(self, elapsed)
dask/diagnostics/progress.py:131
↓ 2 callersMethod_validate_chunks
(self, arr, lengths)
dask/dataframe/dask_expr/_collection.py:2498
↓ 2 callersFunction_validate_indexer
(chunks, indexer, axis)
dask/array/_shuffle.py:166
↓ 2 callersFunction_validate_rechunk
Validates that rechunking an array from ``old_chunks`` to ``new_chunks`` is possible, raises an error if otherwise. Notes ----- This
dask/array/rechunk.py:243
↓ 2 callersMethod_verify_values
(self, values: tuple | dict)
dask/_task_spec.py:402
↓ 2 callersFunction_wrap_namedtuple_task
(k, obj, parser)
dask/_task_spec.py:161
↓ 2 callersFunction_wrapped_numpy_funcname
Return the name of the public NumPy function that called ``__array_wrap__``, or None if the caller is not NumPy. Depending on the NumPy versi
dask/dataframe/dask_expr/_collection.py:312
↓ 2 callersFunction_zarr_v3
()
dask/array/core.py:3723
↓ 2 callersMethodacquire
(self, *args, **kwargs)
dask/utils.py:1322
↓ 2 callersFunctionadd_path_column
(df, column_name, path, dtype)
dask/dataframe/io/json.py:317
↓ 2 callersMethodadd_prefix
(self, prefix, axis=None)
dask/dataframe/dask_expr/_collection.py:3709
↓ 2 callersFunctionadd_to_result
(item: Key)
dask/order.py:226
↓ 2 callersMethodany
Are any of the elements truthy? Examples -------- >>> import dask.bag as db >>> bool_bag = db.from_sequence([True, Tr
dask/bag/core.py:1089
↓ 2 callersMethodapply
Parallel version of pandas.Series.apply Parameters ---------- func : function Function to apply $META
dask/dataframe/dask_expr/_collection.py:4399
↓ 2 callersFunctionapply_gufunc
Apply a generalized ufunc or similar python function to arrays. ``signature`` determines if the function consumes or produces core dimen
dask/array/gufunc.py:172
↓ 2 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/_array_expr/_creation.py:200
↓ 2 callersFunctionarange_safe
Use the `like=` from `np.arange` to create a new array dispatching to the downstream library. If that fails, falls back to the default Nu
dask/array/utils.py:427
↓ 2 callersFunctionargwhere
(a)
dask/array/routines.py:2142
↓ 2 callersFunctionasanyarray_safe
If a is dask.array, return dask.array.asanyarray(a, **kwargs), otherwise return np.asanyarray(a, like=like, **kwargs), dispatching the ca
dask/array/utils.py:517
↓ 2 callersFunctionassert_divisions
(ddf, scheduler=None)
dask/dataframe/utils.py:602
↓ 2 callersFunctionassert_eq_shape
(a, b, check_ndim=True, check_nan=True)
dask/array/utils.py:232
↓ 2 callersFunctionassert_has_persisted_data
(arr)
dask/array/tests/test_array_core.py:91
↓ 2 callersFunctionassert_max_deps
(x, n, eq=True)
dask/array/tests/test_reductions.py:568
↓ 2 callersFunctionassert_near_timedeltas
(t1, t2, atol=2000)
dask/dataframe/tests/test_arithmetics_reduction.py:1278
↓ 2 callersMethodautocorr
(self, lag=1, split_every=False)
dask/dataframe/dask_expr/_collection.py:4607
↓ 2 callersFunctionbhattacharyya
(h1, h2)
dask/bag/tests/test_random.py:206
↓ 2 callersFunctionbinop
(acc, x)
dask/bag/tests/test_bag.py:280
↓ 2 callersFunctionblock_mask
Yields a flat iterable of booleans to mark the zeroth elements of the nested input ``block_lists`` in a flattened output. >>> list(block
dask/dataframe/io/csv.py:364
↓ 2 callersFunctionblockdims_from_blockshape
>>> blockdims_from_blockshape((10, 10), (4, 3)) ((4, 4, 2), (3, 3, 3, 1)) >>> blockdims_from_blockshape((10, 0), (4, 0)) ((4, 4, 2),
dask/array/core.py:1237
↓ 2 callersFunctionbox_label
Label boxes in graph by chunk index >>> box_label(('x', 1, 2, 3)) '(1, 2, 3)' >>> box_label(('x', 123)) '123' >>> box_label('x')
dask/dot.py:105
↓ 2 callersFunctionbroadcast_arrays
(*args, subok=False)
dask/array/core.py:5380
↓ 2 callersFunctionbroadcast_chunks
Construct a chunks tuple that broadcasts many chunks tuples >>> a = ((5, 5),) >>> b = ((5, 5),) >>> broadcast_chunks(a, b) ((5, 5),)
dask/array/core.py:1039
↓ 2 callersFunctionbroadcast_trick
Provide a decorator to wrap common numpy function with a broadcast trick. Dask arrays are currently immutable; thus when we know an array is
dask/array/wrap.py:143
↓ 2 callersFunctioncached_max
Compute max with caching. Caching is by the identity of `seq` rather than the value. It is thus important that `seq` is a tuple of immutable
dask/utils.py:2101
↓ 2 callersFunctioncalc_divisions_for_align
(*exprs, allow_shuffle=True)
dask/dataframe/dask_expr/_expr.py:4104
↓ 2 callersFunctioncall_function
(func, func_token, args, kwargs, pure=None, nout=None)
dask/delayed.py:806
↓ 2 callersFunctioncheck
(i, j)
dask/tests/test_layers.py:46
↓ 2 callersFunctioncheck_compression
(engine, filename, compression)
dask/dataframe/io/tests/test_parquet.py:1621
↓ 2 callersFunctioncheck_divisions
(divisions)
dask/dataframe/core.py:258
↓ 2 callersFunctioncheck_index
Check validity of index for a given dimension Examples -------- >>> check_index(0, 3, 5) >>> check_index(0, 5, 5) Traceback (most
dask/array/slicing.py:869
↓ 2 callersMethodchoose
Use an index array to construct a new array from a set of choices. Refer to :func:`dask.array.choose` for full documentation. See Al
dask/array/core.py:2237
↓ 2 callersMethodclear
Clear out old results from profiler
dask/diagnostics/profile.py:408
↓ 2 callersMethodclip
Return an array whose values are limited to ``[min, max]``. One of max or min must be given. Refer to :func:`dask.array.clip` for ful
dask/array/_array_expr/_collection.py:613
↓ 2 callersFunctioncoerce_boundary
(ndim, boundary)
dask/array/overlap.py:807
↓ 2 callersFunctioncoerce_boundary
(ndim, boundary)
dask/array/_array_expr/_overlap.py:824
↓ 2 callersFunctioncoerce_loc_index
(obj, key)
dask/dataframe/dask_expr/_indexing.py:444
↓ 2 callersMethodcombine
(cls, g, levels)
dask/dataframe/dask_expr/_groupby.py:653
↓ 2 callersMethodcombine
(self, other, func, fill_value=None, overwrite=True)
dask/dataframe/dask_expr/_collection.py:3172
↓ 2 callersMethodcombine
Combine with another _DNF object
dask/dataframe/dask_expr/io/parquet.py:1648
↓ 2 callersFunctionconstant
Add constant slice to either side of array
dask/array/_array_expr/_overlap.py:273
↓ 2 callersFunctioncontract_tuple
Return simple chunks tuple such that factor divides all elements Examples -------- >>> contract_tuple((2, 2, 8, 4), 4) (4, 8, 4)
dask/array/reshape.py:260
↓ 2 callersFunctionconvert_depth
(depth)
dask/layers.py:279
↓ 2 callersFunctionconvert_legacy_task
( key: KeyType | None, task: _T, all_keys: Container, )
dask/_task_spec.py:203
↓ 2 callersMethodcopy
Copy the traverser in its current state. This allows the traversal to be pushed onto a stack, for easy backtracking.
dask/rewrite.py:62
↓ 2 callersMethodcpu_affinity
(self)
dask/tests/test_system.py:92
↓ 2 callersFunctioncumdims_label
Internal utility for cumulative sum with label. >>> cumdims_label(((5, 3, 3), (2, 2, 1)), 'n') # doctest: +NORMALIZE_WHITESPACE [(('n', 0),
dask/array/rechunk.py:33
↓ 2 callersMethodcumprod
Return the cumulative product of the elements along the given axis. Refer to :func:`dask.array.cumprod` for full documentation. See
dask/array/core.py:2767
← previousnext →901–1,000 of 9,170, ranked by callers