MCPcopy Create free account

hub / github.com/dask/dask / functions

Functions9,157 in github.com/dask/dask

↓ 5 callersMethodnunique_approx
(self, split_every=None)
dask/dataframe/dask_expr/_expr.py:423
↓ 5 callersMethodquantile
(self, q, *args, **kwargs)
dask/dataframe/dask_expr/_rolling.py:330
↓ 5 callersFunctionread_text
Read lines from text files Parameters ---------- urlpath : string or list Absolute or relative filepath(s). Prefix with a protoco
dask/bag/text.py:17
↓ 5 callersFunctionrechunk
Convert blocks in dask array x for new chunks. Parameters ---------- x: dask array Array to be rechunked. chunks: int,
dask/array/rechunk.py:270
↓ 5 callersMethodreduction
Generic row-wise reductions. Parameters ---------- chunk : callable Function to operate on each partition. Should
dask/dataframe/dask_expr/_collection.py:2132
↓ 5 callersFunctionreify
(seq)
dask/bag/core.py:1876
↓ 5 callersFunctionreplace_name_in_key
Given a dask collection's key, replace the collection name with a new one. Parameters ---------- key: string or tuple Dask collec
dask/base.py:1378
↓ 5 callersFunctionreshape_blockwise
Blockwise-reshape into a new shape. The regular reshape operation in Dask preserves C-ordering in the array which requires a rechunking for m
dask/array/reshape.py:389
↓ 5 callersFunctionreshape_rechunk
(inshape, outshape, inchunks, disallow_dimension_expansion=False)
dask/array/reshape.py:33
↓ 5 callersFunctionresult_type
(*args)
dask/array/routines.py:65
↓ 5 callersMethodrsplit
(self, pat=None, n=-1, expand=False)
dask/dataframe/dask_expr/_str_accessor.py:103
↓ 5 callersFunctionshuffle_slice
A relatively efficient way to shuffle `x` according to `index`. Parameters ---------- x : Array index : ndarray This should b
dask/array/slicing.py:1211
↓ 5 callersFunctionslices_from_chunks
Translate chunks tuple to a set of slices in product order >>> slices_from_chunks(((2, 2), (3, 3, 3))) # doctest: +NORMALIZE_WHITESPACE [(s
dask/array/core.py:248
↓ 5 callersMethodsqueeze
(self)
dask/dataframe/dask_expr/_collection.py:4432
↓ 5 callersMethodto_records
(self, index=False, lengths=None)
dask/dataframe/dask_expr/_collection.py:2452
↓ 5 callersFunctiontrim_internal
Trim sides from each block This couples well with the overlap operation, which may leave excess data on each block See also --------
dask/array/_array_expr/_overlap.py:111
↓ 5 callersFunctionunify_chunks
Unify chunks across a sequence of arrays This utility function is used within other common operations like :func:`dask.array.core.map_bl
dask/array/core.py:4337
↓ 5 callersFunctionunify_chunks_expr
(*args)
dask/array/_array_expr/_expr.py:135
↓ 5 callersFunctionunique
(ar, return_index=False, return_inverse=False, return_counts=False)
dask/array/routines.py:1769
↓ 5 callersMethodvisualize
( self, filename: str = "mydask", format: str | None = None, optimize_graph: b
dask/tests/test_typing.py:82
↓ 5 callersFunctionwhere
(condition, x=None, y=None)
dask/array/routines.py:2156
↓ 5 callersFunctionwith_deps
(dsk)
dask/tests/test_optimization.py:48
↓ 4 callersMethod__dask_annotations__
(self)
dask/_expr.py:556
↓ 4 callersMethod__dask_keys__
(self)
dask/tests/test_composite_expr.py:136
↓ 4 callersMethod__dask_keys__
(self)
dask/array/_array_expr/_collection.py:73
↓ 4 callersMethod__dask_postpersist__
(self)
dask/tests/test_base.py:262
↓ 4 callersFunction_aggregate_statistics_to_file
Aggregate RG information to file level.
dask/dataframe/dask_expr/io/parquet.py:1954
↓ 4 callersMethod_broadcast_dep
(self, dep: Expr)
dask/dataframe/dask_expr/_expr.py:1876
↓ 4 callersFunction_contains_index_name
Test whether the input contains a reference to the index of the df
dask/dataframe/dask_expr/_shuffle.py:672
↓ 4 callersFunction_da_with_cupy_meta
(attr, *args, meta=None, **kwargs)
dask/array/cupy_entry_point.py:20
↓ 4 callersMethod_elemwise
(self)
dask/array/core.py:1785
↓ 4 callersFunction_get_divisions
( frame, other, npartitions: int, ascending: bool = True, partition_size: float = 128e6,
dask/dataframe/dask_expr/_shuffle.py:1322
↓ 4 callersFunction_maybe_from_pandas
(dfs)
dask/dataframe/dask_expr/_util.py:150
↓ 4 callersFunction_maybe_raise_nondeterministic
(msg: str)
dask/tokenize.py:83
↓ 4 callersMethod_scalarfunc
(self, cast_type)
dask/array/core.py:1888
↓ 4 callersFunction_to_cytoscape_json
Convert a dask graph to Cytoscape JSON: https://js.cytoscape.org/#notation/elements-json
dask/dot.py:318
↓ 4 callersMethod_toposort_layers
Sort the layers in a high level graph topologically Parameters ---------- hlg : HighLevelGraph The high level gra
dask/highlevelgraph.py:698
↓ 4 callersMethod_transform_like_op
( self, expr_cls, func, meta=no_default, shuffle_method=None, *args, **kwargs )
dask/dataframe/dask_expr/_groupby.py:2023
↓ 4 callersFunction_validate_normalize_axes
Validates logic of `axes`/`axis`/`keepdims` arguments and normalize them. Refer to [1]_ for details Arguments --------- axes: Li
dask/array/_array_expr/_gufunc.py:63
↓ 4 callersFunction_wrapped_fs
Return the wrapped filesystem if fs is ArrowFSWrapper
dask/dataframe/io/parquet/arrow.py:68
↓ 4 callersMethodadd_prefix
(self, prefix)
dask/dataframe/dask_expr/_collection.py:4459
↓ 4 callersFunctionarg_reduction
Generic function for argreduction. Parameters ---------- x : Array chunk : callable Partialed ``arg_chunk``. combine : ca
dask/array/reductions.py:844
↓ 4 callersFunctionarray
(x, dtype=None, ndmin=None, *, like=None)
dask/array/routines.py:55
↓ 4 callersFunctionasciitable
Formats an ascii table for given columns and rows. Parameters ---------- columns : list The column names rows : list of tuple
dask/utils.py:1176
↓ 4 callersFunctionassert_chunks_match
(left, right)
dask/array/tests/test_rechunk.py:737
↓ 4 callersFunctionassert_tb_levels
(expect)
dask/tests/test_traceback.py:21
↓ 4 callersFunctionauto_blocksize
(total_memory, cpu_count)
dask/dataframe/io/csv.py:394
↓ 4 callersFunctionblockwise_token
(i, prefix=_BLOCKWISE_DEFAULT_PREFIX)
dask/blockwise.py:223
↓ 4 callersFunctionboundaries
Add boundary conditions to an array before overlapping See Also -------- periodic constant
dask/array/_array_expr/_overlap.py:300
↓ 4 callersFunctioncall
(g, m, **kwargs)
dask/dataframe/tests/test_groupby.py:680
↓ 4 callersFunctioncheck_meta
Check that the dask metadata matches the result. If metadata matches, ``x`` is passed through unchanged. A nice error is raised if metadata d
dask/dataframe/utils.py:314
↓ 4 callersFunctioncheck_observed_deprecation
()
dask/_pandas_compat.py:110
↓ 4 callersMethodchunk
(df, *by, **kwargs)
dask/dataframe/dask_expr/_groupby.py:840
↓ 4 callersFunctionclear_known_categories
Set categories to be unknown. Parameters ---------- x : DataFrame, Series, Index cols : iterable, optional If x is a DataFram
dask/dataframe/utils.py:220
↓ 4 callersFunctioncollect_env
Collect config from environment variables This grabs environment variables of the form "DASK_FOO__BAR_BAZ=123" and turns these into config va
dask/config.py:247
↓ 4 callersFunctioncompute_meta
(func, _dtype, *args, **kwargs)
dask/array/_array_expr/_utils.py:13
↓ 4 callersMethodconj
Complex-conjugate all elements. Refer to :func:`dask.array.conj` for full documentation. See Also -------- dask.arra
dask/array/_array_expr/_collection.py:600
↓ 4 callersMethodcount
(self, **kwargs)
dask/dataframe/dask_expr/_groupby.py:1655
↓ 4 callersMethodcount
(self, split_every=False)
dask/dataframe/dask_expr/_collection.py:4803
↓ 4 callersFunctioncpu_count
()
dask/tests/test_system.py:85
↓ 4 callersFunctioncull
Return new dask with only the tasks required to calculate keys. In other words, remove unnecessary tasks from dask. ``keys`` may be a single
dask/optimization.py:20
↓ 4 callersMethodcummax
(self, skipna=True)
dask/dataframe/dask_expr/_expr.py:347
↓ 4 callersMethodcummin
(self, skipna=True)
dask/dataframe/dask_expr/_expr.py:352
↓ 4 callersFunctiondeepmap
Apply function inside nested lists >>> inc = lambda x: x + 1 >>> deepmap(inc, [[1, 2], [3, 4]]) [[2, 3], [4, 5]] >>> add = lambda x,
dask/utils.py:273
↓ 4 callersMethoddot
(self, other, meta=no_default)
dask/dataframe/dask_expr/_collection.py:2553
↓ 4 callersFunctiondraw_sizes
Get size in pixels for all dimensions
dask/array/svg.py:274
↓ 4 callersMethoddrop_duplicates
( self, subset=None, split_every=None, split_out=True, shuffle_method=
dask/dataframe/dask_expr/_collection.py:3156
↓ 4 callersFunctionempty_safe_apply
(func, part, is_last)
dask/bag/core.py:2515
↓ 4 callersFunctionensure_minimum_chunksize
Determine new chunks to ensure that every chunk >= size Parameters ---------- size: int The maximum size of any chunk. chunks
dask/array/_array_expr/_overlap.py:333
↓ 4 callersMethodeq
(self, other, level=None, fill_value=None, axis=0)
dask/dataframe/dask_expr/_collection.py:4267
↓ 4 callersFunctionexecute_graph
Execute a given graph. The graph is executed in topological order as defined by dask.order until all leaf nodes, i.e. nodes without any depen
dask/_task_spec.py:1064
↓ 4 callersFunctionfft_wrap
Wrap 1D, 2D, and ND real and complex FFT functions Takes a function that behaves like ``numpy.fft`` functions and a specified kind to match i
dask/array/fft.py:118
↓ 4 callersMethodfirst
(self)
dask/dataframe/tseries/resample.py:333
↓ 4 callersMethodfold
Parallelizable reduction Fold is like the builtin function ``reduce`` except that it works in parallel. Fold takes two binary operat
dask/bag/core.py:867
↓ 4 callersFunctionget
Get value from Dask Examples -------- >>> inc = lambda x: x + 1 >>> d = {'x': 1, 'y': (inc, 'x')} >>> get(d, 'x') 1 >>>
dask/core.py:86
↓ 4 callersFunctionget_async
Asynchronous get function This is a general version of various asynchronous schedulers for dask. It takes a ``concurrent.futures.Executor.su
dask/local.py:382
↓ 4 callersFunctionget_context
Return the current multiprocessing context.
dask/multiprocessing.py:133
↓ 4 callersFunctionget_name_from_key
Given a dask collection's key, extract the collection name. Parameters ---------- key: string or tuple Dask collection's key, whi
dask/base.py:1352
↓ 4 callersFunctiongraphviz_to_file
(g, filename, format)
dask/dot.py:282
↓ 4 callersFunctiongroupby_projection
(expr, parent, dependents)
dask/dataframe/dask_expr/_groupby.py:1307
↓ 4 callersFunctionhas_parallel_type
Does this object have a dask dataframe equivalent?
dask/dataframe/core.py:403
↓ 4 callersMethodinfo
Concise summary of a Dask DataFrame
dask/dataframe/dask_expr/_collection.py:3965
↓ 4 callersFunctionis_filter_pushdown_available
(expr, parent, dependents, allow_reduction=True)
dask/dataframe/dask_expr/_expr.py:3975
↓ 4 callersFunctionis_namedtuple_instance
Returns True if obj is an instance of a namedtuple. Note: This function checks for the existence of the methods and attributes that make up t
dask/utils.py:2205
↓ 4 callersFunctionis_object_string_dtype
Determine if input is a non-pyarrow string dtype
dask/dataframe/_pyarrow.py:19
↓ 4 callersFunctionis_scalar_for_elemwise
>>> is_scalar_for_elemwise(42) True >>> is_scalar_for_elemwise('foo') True >>> is_scalar_for_elemwise(True) True >>> is_
dask/array/core.py:5019
↓ 4 callersFunctionkeepdims_wrapper
A wrapper for functions that don't provide keepdims to ensure that they do.
dask/array/chunk.py:16
↓ 4 callersMethodkurtosis
.. note:: This implementation follows the dask.array.stats implementation of kurtosis and calculates kurtosis without
dask/dataframe/dask_expr/_collection.py:1708
↓ 4 callersFunctionmap_overlap
Apply a function to each partition, sharing rows with adjacent partitions. Parameters ---------- func : function The function app
dask/dataframe/dask_expr/_collection.py:6255
↓ 4 callersFunctionmatmul
(a, b)
dask/array/routines.py:416
↓ 4 callersFunctionmaybe_pluralize
Pluralize a count-noun string pattern when necessary
dask/utils.py:2197
↓ 4 callersFunctionmaybe_wrap_pandas
(obj, x)
dask/dataframe/accessor.py:47
↓ 4 callersMethodmemory_usage_per_partition
(self, index=True, deep=False)
dask/dataframe/dask_expr/_expr.py:426
↓ 4 callersFunctionmerge_asof
( left, right, on=None, left_on=None, right_on=None, left_index=False, right_index
dask/dataframe/dask_expr/_collection.py:5687
↓ 4 callersFunctionmethod
(self, other, axis="columns", level=None, fill_value=None)
dask/dataframe/dask_expr/_collection.py:204
↓ 4 callersMethodmode
(self, dropna=True, split_every=False)
dask/dataframe/dask_expr/_expr.py:328
↓ 4 callersMethodmoment
Calculate the nth centralized moment. Refer to :func:`dask.array.moment` for the full documentation. See Also --------
dask/array/_array_expr/_collection.py:429
↓ 4 callersFunctionmyadd
(a=1, b=2, c=3)
dask/bag/tests/test_bag.py:121
↓ 4 callersFunctionname
(x)
dask/dot.py:53
↓ 4 callersFunctionnew_blockdim
>>> new_blockdim(100, [20, 10, 20, 10, 40], slice(0, 90, 2)) [10, 5, 10, 5, 15] >>> new_blockdim(100, [20, 10, 20, 10, 40], [5, 1, 30,
dask/array/slicing.py:716
← previousnext →501–600 of 9,157, ranked by callers