MCPcopy Create free account

hub / github.com/dask/dask / functions

Functions9,157 in github.com/dask/dask

↓ 3 callersMethodcase_when
(self, caselist)
dask/dataframe/dask_expr/_collection.py:4643
↓ 3 callersFunctioncheck_matching_columns
(meta, actual)
dask/dataframe/utils.py:388
↓ 3 callersMethodchunk
(cls, df, **kwargs)
dask/dataframe/dask_expr/_reductions.py:802
↓ 3 callersMethodclip
(self, lower=None, upper=None, axis=None, **kwargs)
dask/dataframe/dask_expr/_collection.py:2853
↓ 3 callersMethodclip
(self, lower=None, upper=None, axis=None, **kwargs)
dask/dataframe/dask_expr/_collection.py:4238
↓ 3 callersFunctionclone
Clone dask collections, returning equivalent collections that are generated from independent calculations. Examples -------- (tokens
dask/graph_manipulation.py:411
↓ 3 callersFunctioncoerce_depth
(ndim, depth)
dask/array/overlap.py:785
↓ 3 callersFunctioncoerce_depth
(ndim, depth)
dask/array/_array_expr/_overlap.py:802
↓ 3 callersFunctioncollect
Collect configuration from paths and environment variables Parameters ---------- paths : list[str] A list of paths to search
dask/config.py:499
↓ 3 callersMethodcombine_first
(self, other)
dask/dataframe/dask_expr/_expr.py:366
↓ 3 callersFunctioncompare
(s, df)
dask/dataframe/dask_expr/_expr.py:3190
↓ 3 callersFunctioncompress
(condition, a, axis=None)
dask/array/routines.py:2017
↓ 3 callersFunctioncompute_meta
(func, _dtype, *args, **kwargs)
dask/array/utils.py:124
↓ 3 callersFunctionconcatenate_array_chunks
Concatenate the multidimensional chunks of an array. Can be used on chunks with unknown sizes. Parameters ---------- x : dask array
dask/array/slicing.py:1428
↓ 3 callersMethodcopy
(self)
dask/highlevelgraph.py:632
↓ 3 callersMethodcorr
( self, method="pearson", min_periods=None, numeric_only=False, split_
dask/dataframe/dask_expr/_collection.py:4046
↓ 3 callersFunctioncount
(a, axis=None, keepdims=False, split_every=None)
dask/array/ma.py:185
↓ 3 callersMethodcov
(self, min_periods=None, numeric_only=False, split_every=False)
dask/dataframe/dask_expr/_collection.py:4042
↓ 3 callersFunctioncull
( dsk: dict[KeyType, GraphNode], keys: Iterable[KeyType] )
dask/_task_spec.py:1188
↓ 3 callersFunctioncytoscape_graph
Create an ipycytoscape widget for a dask graph. If `filename` is not None, write an HTML file to disk with the specified name. This use
dask/dot.py:421
↓ 3 callersFunctiondeepfirst
First element in a nested list >>> deepfirst([[[1, 2], [3, 4]], [5, 6], [7, 8]]) 1
dask/array/core.py:5464
↓ 3 callersFunctiondemo_tuples
(layers: bool)
dask/tests/test_graph_manipulation.py:112
↓ 3 callersFunctiondivide
(a, b, dtype=None)
dask/array/reductions.py:55
↓ 3 callersFunctiondivmod
(x, y)
dask/array/_array_expr/_ufunc.py:342
↓ 3 callersMethodempty
(self)
dask/dataframe/dask_expr/_collection.py:2710
↓ 3 callersMethodenforce_runtime_divisions
Enforce the current divisions at runtime. Injects a layer into the Task Graph that checks that the current divisions match the expect
dask/dataframe/dask_expr/_collection.py:1638
↓ 3 callersFunctionensure_bytes
Attempt to turn `s` into bytes. Parameters ---------- s : Any The object to be converted. Will correctly handled * str
dask/utils.py:1080
↓ 3 callersFunctionensure_file
Copy file to default location if it does not already exist This tries to move a default configuration file to a default location if if d
dask/config.py:309
↓ 3 callersFunctionensure_not_exists
Ensure that a file does not exist.
dask/utils.py:793
↓ 3 callersFunctionensure_unicode
Turn string or bytes to string >>> ensure_unicode('123') '123' >>> ensure_unicode(b'123') '123'
dask/utils.py:1122
↓ 3 callersFunctionexpand_pad_value
(array, pad_value)
dask/array/creation.py:936
↓ 3 callersFunctionexpander
Create a function to insert value at many locations in sequence. >>> expander([0, 2])(['a', 'b', 'c'], 'z') ('z', 'a', 'z', 'b', 'c')
dask/array/slicing.py:707
↓ 3 callersFunctionf
()
dask/tests/test_multiprocessing.py:189
↓ 3 callersFunctionfix_index
(out, dtype)
dask/dataframe/tests/test_multi.py:945
↓ 3 callersFunctionflip
Reverse element order along axis. Parameters ---------- m : array_like Input array. axis : None or int or tuple of ints,
dask/array/routines.py:197
↓ 3 callersFunctionfn
(x, dt)
dask/tests/test_distributed.py:610
↓ 3 callersFunctionformat_bytes
Format bytes as text >>> from dask.utils import format_bytes >>> format_bytes(1) '1 B' >>> format_bytes(1234) '1.21 kiB' >>>
dask/utils.py:1768
↓ 3 callersFunctionfrom_delayed
Create bag from many dask Delayed objects. These objects will become the partitions of the resulting Bag. They should evaluate to a ``list``
dask/bag/core.py:1888
↓ 3 callersFunctionfrom_delayed
Create a dask array from a dask delayed value This routine is useful for constructing dask arrays in an ad-hoc fashion using dask delayed, pa
dask/array/core.py:4191
↓ 3 callersFunctionfrom_func
Create dask array in a single block by calling a function Calling the provided function with func(*args, **kwargs) should return a NumPy arra
dask/array/core.py:4238
↓ 3 callersFunctionfunc
(part)
dask/bag/tests/test_bag.py:1523
↓ 3 callersFunctionfunc
(x, y)
dask/tests/test_utils.py:99
↓ 3 callersFunctionfunc
(block, block_id=None, c=0)
dask/array/tests/test_array_core.py:1586
↓ 3 callersMethodfuse
(self)
dask/_expr.py:442
↓ 3 callersMethodget_all_external_keys
Get all output keys of all layers This will in most cases _not_ materialize any layers, which makes it a relative cheap operation.
dask/highlevelgraph.py:580
↓ 3 callersFunctionget_cat
(x)
dask/dataframe/tests/test_categorical.py:396
↓ 3 callersFunctionget_colors
Get a dict mapping funcs to colors from palette. Parameters ---------- palette : string Name of the bokeh palette to use, must be
dask/diagnostics/profile_visualize.py:39
↓ 3 callersFunctionget_numeric_only_kwargs
(numeric_only: bool | NoDefault)
dask/dataframe/utils.py:779
↓ 3 callersFunctiongetcycle
Return a list of nodes that form a cycle if Dask is not a DAG. Returns an empty list if no cycle is found. ``keys`` may be a single key or l
dask/core.py:460
↓ 3 callersFunctiongetitem
Getitem function This function creates a copy of the desired selection for array-like inputs when the selection is smaller than half of the o
dask/array/chunk.py:408
↓ 3 callersFunctionhead
Return the top level node of a task
dask/rewrite.py:8
↓ 3 callersFunctionimport_or_none
Import a module and return it; in case of failure; return None
dask/utils_test.py:133
↓ 3 callersFunctionindex_subs
A simple subs function that works both on tuples and strings
dask/blockwise.py:212
↓ 3 callersFunctioninline
Return new dask with the given keys inlined with their values. Inlines all constants if ``inline_constants`` keyword is True. Note that the c
dask/optimization.py:241
↓ 3 callersMethodis_materialized
(self)
dask/blockwise.py:654
↓ 3 callersFunctionis_object_string_index
(x)
dask/dataframe/_pyarrow.py:30
↓ 3 callersFunctionis_pyarrow_string_dtype
Is the input dtype a pyarrow string?
dask/dataframe/_pyarrow.py:14
↓ 3 callersFunctioniskey
Return True if the given object is a potential dask key; False otherwise. The definition of a key in a Dask graph is any str, int, float, or tupl
dask/core.py:154
↓ 3 callersFunctioniter_chunks
Split sizes into chunks of total max_size each Parameters ---------- sizes : iterable of numbers The sizes to be chunked max_
dask/utils.py:1913
↓ 3 callersFunctionlabel
>>> label('x') 'x' >>> label(('x', 1)) "('x', 1)" >>> from hashlib import md5 >>> x = 'x-%s-hello' % md5(b'1234').hexdiges
dask/dot.py:64
↓ 3 callersMethodlast
(self)
dask/dataframe/tseries/resample.py:337
↓ 3 callersMethodlocked
(self)
dask/utils.py:1334
↓ 3 callersMethodmap
(self, arg, na_action=None, meta=None)
dask/dataframe/dask_expr/_collection.py:4224
↓ 3 callersFunctionmap_blocks
Map a function across all blocks of a dask array. Note that ``map_blocks`` will attempt to automatically determine the output array type by c
dask/array/_array_expr/_map_blocks.py:16
↓ 3 callersFunctionmaybe_align_partitions
(*exprs, divisions)
dask/dataframe/dask_expr/_expr.py:4116
↓ 3 callersMethodmedian_approximate
Return the approximate median of the values over the requested axis. Parameters ---------- method : {'default', 'tdigest', 'd
dask/dataframe/dask_expr/_collection.py:4545
↓ 3 callersFunctionndeepmap
Call a function on every element within a nested container >>> def inc(x): ... return x + 1 >>> L = [[1, 2], [3, 4, 5]] >>> ndeep
dask/utils.py:303
↓ 3 callersMethodndim
(self)
dask/array/core.py:1658
↓ 3 callersFunctionndimlist
(seq)
dask/utils.py:1904
↓ 3 callersMethodnext
Proceed to the next term in the preorder traversal.
dask/rewrite.py:70
↓ 3 callersMethodnlargest
(self, n=5, split_every=None)
dask/dataframe/dask_expr/_collection.py:4308
↓ 3 callersFunctionnormalize_index
Normalize slicing indexes 1. Replaces ellipses with many full slices 2. Adds full slices to end of index 3. Checks bounding conditions
dask/array/_array_expr/_slicing.py:82
↓ 3 callersFunctionnormalize_object
(o)
dask/tokenize.py:195
↓ 3 callersFunctionobject_size
(*xs)
dask/sizeof.py:150
↓ 3 callersFunctionoptimize_until
(expr: Expr, stage: OptimizerStage)
dask/_expr.py:928
↓ 3 callersFunctionpath_converter
(x)
dask/dataframe/io/tests/test_json.py:46
↓ 3 callersFunctionpivot_table
Create a spreadsheet-style pivot table as a DataFrame. Target ``columns`` must have category dtype to infer result's ``columns``. ``index
dask/dataframe/dask_expr/_collection.py:6037
↓ 3 callersMethodpoisson
(self, lam=1.0, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:306
↓ 3 callersFunctionqr
Compute the qr factorization of a matrix. Parameters ---------- a : Array Returns ------- q: Array, orthonormal r:
dask/array/linalg.py:835
↓ 3 callersFunctionrandom_images
(n, shape)
dask/array/tests/test_image.py:17
↓ 3 callersFunctionravel
(array_like)
dask/array/routines.py:1972
↓ 3 callersMethodreal
(self)
dask/array/_array_expr/_collection.py:589
↓ 3 callersFunctionreduction_1d_test
(da_func, darr, np_func, narr, use_dtype=True, split_every=True)
dask/array/tests/test_reductions.py:96
↓ 3 callersFunctionreduction_2d_test
(da_func, darr, np_func, narr, use_dtype=True, split_every=True)
dask/array/tests/test_reductions.py:176
↓ 3 callersMethodreduction_chunk
(cls, x, skipna)
dask/dataframe/dask_expr/_reductions.py:1158
↓ 3 callersMethodrelease
(self)
dask/array/tests/test_array_core.py:2353
↓ 3 callersFunctionreplace_ellipsis
Replace ... with slices, :, : ,: >>> replace_ellipsis(4, (3, Ellipsis, 2)) (3, slice(None, None, None), slice(None, None, None), 2) >>>
dask/array/slicing.py:743
↓ 3 callersFunctionrnd_test
(func, *args, **kwargs)
dask/array/tests/test_cupy_random.py:29
↓ 3 callersFunctionround
(a, decimals=0)
dask/array/routines.py:1633
↓ 3 callersFunctions3_context
(bucket=test_bucket_name, files=files)
dask/bytes/tests/test_s3.py:126
↓ 3 callersFunctionschedule
(dsk, keys, **kwargs)
dask/tests/test_base.py:873
↓ 3 callersMethodshutdown
(self)
dask/diagnostics/profile.py:244
↓ 3 callersMethodsize
(self)
dask/dataframe/tseries/resample.py:349
↓ 3 callersFunctionskip_doctest
(doc)
dask/utils.py:818
↓ 3 callersMethodstd
Standard deviation
dask/bag/core.py:1147
↓ 3 callersFunctionsummer
(a, axis=None)
dask/array/tests/test_chunk.py:16
↓ 3 callersFunctionsvd
Compute the singular value decomposition of a matrix. Parameters ---------- a : (M, N) Array coerce_signs : bool Whether
dask/array/linalg.py:874
↓ 3 callersFunctionsvg
Convert chunks from Dask Array into an SVG Image Parameters ---------- chunks: tuple size: int Rough size of the image R
dask/array/svg.py:13
↓ 3 callersFunctiontensordot
(lhs, rhs, axes=2)
dask/array/routines.py:295
↓ 3 callersFunctiontmp_db_uri
()
dask/dataframe/io/tests/test_sql.py:477
← previousnext →701–800 of 9,157, ranked by callers