MCPcopy Create free account

hub / github.com/dask/dask / functions

Functions9,170 in github.com/dask/dask

↓ 1 callersFunctionmake_reader
(reader, reader_name, file_type)
dask/dataframe/io/csv.py:714
↓ 1 callersMethodmap
(self, func, na_action=None, meta=None)
dask/dataframe/dask_expr/_collection.py:3144
↓ 1 callersFunctionmap_partitions
Apply a function to every partition across one or more bags. Note that all ``Bag`` arguments must be partitioned identically. Parameters
dask/bag/core.py:2244
↓ 1 callersMethodmap_reduce
Iterate over the nested list, applying: * ``f_map`` (T -> U) to items * ``f_reduce`` (Iterable[U] -> U) to mapped items
dask/array/numpy_compat.py:83
↓ 1 callersFunctionmax_depth_by_deps
(key)
dask/dataframe/io/tests/test_hdf.py:329
↓ 1 callersFunctionmaximum
(x, y=0)
dask/bag/tests/test_bag.py:496
↓ 1 callersMethodmean
(self, *args, **kwargs)
dask/dataframe/dask_expr/_collection.py:4851
↓ 1 callersMethodmedian_approximate
Return the approximate median of the values over the requested axis. Parameters ---------- axis : {0, 1, "index", "columns"}
dask/dataframe/dask_expr/_collection.py:3919
↓ 1 callersFunctionmelt
( frame, id_vars=None, value_vars=None, var_name=None, value_name="value", col_level=N
dask/dataframe/dask_expr/_collection.py:5608
↓ 1 callersMethodmemory_usage
(self, deep=False, index=True)
dask/dataframe/dask_expr/_collection.py:4342
↓ 1 callersMethodmerge
(self, other: Statistics)
dask/dataframe/dask_expr/diagnostics/_analyze_plugin.py:93
↓ 1 callersFunctionmerge_chunk
( lhs, *args, result_meta, **kwargs, )
dask/dataframe/multi.py:77
↓ 1 callersMethodmethod
(self)
dask/dataframe/tests/test_accessors.py:38
↓ 1 callersMethodmin
(self, axis=0, skipna=True, numeric_only=False, split_every=False, **kwargs)
dask/dataframe/dask_expr/_collection.py:1927
↓ 1 callersMethodmode
(self, dropna=True, split_every=False)
dask/dataframe/dask_expr/_collection.py:4330
↓ 1 callersFunctionmodlevel_delayed1
(x)
dask/tests/test_delayed.py:829
↓ 1 callersFunctionmoment
Calculate the nth centralized moment. Parameters ---------- a : Array Data over which to compute moment order : int O
dask/array/reductions.py:563
↓ 1 callersMethodmulti_support
(cls)
dask/dataframe/io/parquet/arrow.py:510
↓ 1 callersMethodmultivariate_hypergeometric
( self, colors, nsample, size=None, method="marginals", chunks="auto", **kwargs )
dask/array/_array_expr/random.py:244
↓ 1 callersFunctionmyfilter
(x, cn=10, axis=-1)
dask/array/tests/test_gufunc.py:520
↓ 1 callersFunctionmyfunc
(x)
dask/dataframe/dask_expr/tests/test_collection.py:159
↓ 1 callersFunctionmysum
(x, res)
dask/array/tests/test_gufunc.py:644
↓ 1 callersFunctionnanquantile
This works by automatically chunking the reduced axes to a single chunk and then calling ``numpy.nanquantile`` function across the remaining
dask/array/reductions.py:1750
↓ 1 callersFunctionnanvar
( a, axis=None, dtype=None, keepdims=False, ddof=0, split_every=None, out=None )
dask/array/reductions.py:664
↓ 1 callersFunctionnatural_sort_key
Sorting `key` function for performing a natural sort on a collection of strings See https://en.wikipedia.org/wiki/Natural_sort_order
dask/utils.py:1553
↓ 1 callersFunctionnearest
Each reflect each boundary value outwards This mimics what the skimage.filters.gaussian_filter(... mode="nearest") does.
dask/array/overlap.py:234
↓ 1 callersMethodnegative_binomial
(self, n, p, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:259
↓ 1 callersFunctionnested_get
Get nested index from collection Examples -------- >>> nested_get(1, 'abc') 'b' >>> nested_get([1, 0], 'abc') ('b', 'a')
dask/local.py:320
↓ 1 callersFunctionnew_da_object
Generic constructor for dask.array or dask.dataframe objects. Decides the appropriate output class based on the type of `meta` provided.
dask/array/core.py:6162
↓ 1 callersFunctionno_read_permissions
(path)
dask/tests/test_config.py:168
↓ 1 callersMethodnoncentral_chisquare
(self, df, nonc, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:265
↓ 1 callersMethodnoncentral_f
(self, dfnum, dfden, nonc, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:271
↓ 1 callersFunctionnonzero
(a)
dask/array/ma.py:217
↓ 1 callersMethodnormalize
Convert raw filters to the `_Or(_And)` DNF representation
dask/dataframe/dask_expr/io/parquet.py:1626
↓ 1 callersFunctionnormalize_bound_method
(meth)
dask/tokenize.py:180
↓ 1 callersFunctionnormalize_callback
Normalizes a callback to a tuple
dask/callbacks.py:110
↓ 1 callersFunctionnormalize_slice
Replace Nones in slices with integers >>> normalize_slice(slice(None, None, None)) slice(0, None, 1)
dask/array/optimization.py:190
↓ 1 callersFunctionnormalize_to_array
(x)
dask/array/utils.py:20
↓ 1 callersFunctionnotnull
pandas.notnull for dask arrays
dask/array/routines.py:2092
↓ 1 callersMethodnsmallest
(self, n=5, split_every=None)
dask/dataframe/dask_expr/_collection.py:4338
↓ 1 callersMethodnum_columns
(self)
dask/dataframe/dask_expr/_interchange.py:34
↓ 1 callersMethodnum_rows
(self)
dask/dataframe/dask_expr/_interchange.py:37
↓ 1 callersMethodnunique
Examples -------- >>> import pandas as pd >>> import dask.dataframe as dd >>> d = {'col1': [1, 2, 3, 4], 'col
dask/dataframe/dask_expr/_groupby.py:2276
↓ 1 callersMethodnunique
(self, axis=0, dropna=True, split_every=False)
dask/dataframe/dask_expr/_collection.py:3846
↓ 1 callersFunctiono
(i, f)
docs/source/_static/yaml.min.js:2
↓ 1 callersMethodoperation
( frame, *by, _slice, group_keys=None, observed=None, dropna=N
dask/dataframe/dask_expr/_groupby.py:1184
↓ 1 callersMethodoperation
(df, index, sorted_index)
dask/dataframe/dask_expr/_expr.py:1442
↓ 1 callersMethodoperation
(obj, accessor, attr, args, kwargs)
dask/dataframe/dask_expr/_accessor.py:112
↓ 1 callersFunctionoptimization_function
(x)
dask/base.py:424
↓ 1 callersFunctionoptimize
(dsk, keys, **kwargs)
dask/delayed.py:659
↓ 1 callersFunctionoptimize
Optimize a dask from a dask Bag.
dask/bag/core.py:162
↓ 1 callersFunctionoptimize_blockwise_fusion
Traverse the expression graph and apply fusion
dask/dataframe/dask_expr/_expr.py:3254
↓ 1 callersFunctionoptimizer_with_annotations
(dsk, keys)
dask/tests/test_hlgexpr.py:179
↓ 1 callersFunctionoverlap
Share boundaries between neighboring blocks Parameters ---------- x: da.Array A dask array depth: dict The size of t
dask/array/overlap.py:376
↓ 1 callersFunctionoverlap_chunk
(func, before, after, *args, **kwargs)
dask/dataframe/rolling.py:8
↓ 1 callersFunctionoverlap_internal
Share boundaries between neighboring blocks Parameters ---------- x: da.Array A dask array axes: dict The size of th
dask/array/overlap.py:50
↓ 1 callersMethodpack
(self)
dask/dataframe/dask_expr/io/parquet.py:130
↓ 1 callersFunctionpack_exception
(e, dumps)
dask/threaded.py:35
↓ 1 callersFunctionpad
(array, pad_width, mode="constant", **kwargs)
dask/array/creation.py:1256
↓ 1 callersFunctionpad_reuse
Helper function for padding boundaries with values in the array. Handles the cases where the padding is constructed from values in the a
dask/array/creation.py:1090
↓ 1 callersFunctionpad_stats
Helper function for padding boundaries with statistics from the array. In cases where the padding requires computations of statistics from p
dask/array/creation.py:1147
↓ 1 callersFunctionpad_udf
Helper function for padding boundaries with a user defined function. In cases where the padding requires a custom user defined function be
dask/array/creation.py:1222
↓ 1 callersFunctionpair_partitions
Returns which partitions to pair for the merge_asof algorithm and the bounds on which to split them up
dask/dataframe/multi.py:181
↓ 1 callersMethodpareto
(self, a, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:283
↓ 1 callersFunctionparse_assignment_indices
Reformat the indices for assignment. The aim of this is to convert the indices to a standardised form so that it is easier to ascertain which
dask/array/slicing.py:1236
↓ 1 callersFunctionparse_einsum_input
A reproduction of numpy's _parse_einsum_input() which in itself is a reproduction of c side einsum parsing in python. Returns --
dask/array/einsumfuncs.py:31
↓ 1 callersFunctionparse_timedelta
(s: None, default: str | Literal[False] = "seconds")
dask/utils.py:1826
↓ 1 callersFunctionpart
()
dask/bag/tests/test_bag.py:1527
↓ 1 callersFunctionpartial_reduce
Partial reduction across multiple axes. Parameters ---------- func : function x : Array split_every : dict Maximum reduct
dask/array/_reductions_generic.py:273
↓ 1 callersFunctionpath_append
(item: Key)
dask/order.py:541
↓ 1 callersFunctionpath_extend
(items: Iterable[Key])
dask/order.py:548
↓ 1 callersFunctionpath_pop
()
dask/order.py:555
↓ 1 callersFunctionpaths_containing_key
Generator yielding paths which contain the given key.
dask/config.py:291
↓ 1 callersFunctionpercentiles_to_weights
Weigh percentile values by length and the difference between percentiles >>> percentiles = np.array([0., 25., 50., 90., 100.]) >>> values = n
dask/dataframe/partitionquantiles.py:241
↓ 1 callersFunctionperiodic
Copy a slice of an array around to its other side Useful to create periodic boundary conditions for overlap
dask/array/overlap.py:180
↓ 1 callersFunctionplot_cache
Visualize the results of profiling in a bokeh plot. Parameters ---------- results : sequence Output of CacheProfiler.results
dask/diagnostics/profile_visualize.py:360
↓ 1 callersFunctionplot_resources
Plot resource usage in a bokeh plot. Parameters ---------- results : sequence Output of ResourceProfiler.results start_time :
dask/diagnostics/profile_visualize.py:266
↓ 1 callersFunctionplot_tasks
Visualize the results of profiling in a bokeh plot. Parameters ---------- results : sequence Output of Profiler.results dsk :
dask/diagnostics/profile_visualize.py:158
↓ 1 callersMethodpoisson
(self, lam=1.0, size=None, chunks="auto", **kwargs)
dask/array/random.py:320
↓ 1 callersMethodpoisson
(self, lam=1.0, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:667
↓ 1 callersFunctionpop_axes
(chunks, axis1, axis2)
dask/array/creation.py:707
↓ 1 callersMethodpower
(self, a, size=None, chunks="auto", **kwargs)
dask/array/random.py:324
↓ 1 callersMethodpower
(self, a, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:310
↓ 1 callersFunctionpower_divergence
(f_obs, f_exp=None, ddof=0, axis=0, lambda_=None)
dask/array/stats.py:194
↓ 1 callersMethodpprint
Outputs a string representation of the DataFrame. The expression is returned as is. Please run optimize manually if necessary. Retur
dask/dataframe/dask_expr/_collection.py:565
↓ 1 callersFunctionprefix_reduction
Computes the prefix sums of f on df If df has partitions [P1, P2, ..., Pn], then returns the DataFrame with partitions [f(identity, P1),
dask/dataframe/dask_expr/_merge_asof.py:303
↓ 1 callersFunctionprefixscan_blelloch
Generic function to perform parallel cumulative scan (a.k.a prefix scan) The Blelloch prefix scan is work-efficient and exposes parallelism.
dask/array/reductions.py:1037
↓ 1 callersFunctionpreorder_traversal
A generator to preorder-traverse a task.
dask/core.py:61
↓ 1 callersFunctionpreprocess
(x)
dask/array/tests/test_image.py:48
↓ 1 callersFunctionprocess_runnables
Compute all currently runnable paths and either cache or execute them This is designed to ensure we are running tasks that are free to execut
dask/order.py:299
↓ 1 callersMethodprod
(self, *args, **kwargs)
dask/dataframe/dask_expr/_collection.py:4848
↓ 1 callersFunctionpseudorandom
Pseudorandom array of integer indexes >>> pseudorandom(5, [0.5, 0.5], random_state=123) array([1, 0, 0, 1, 1], dtype=int8) >>> pseudoran
dask/utils.py:515
↓ 1 callersFunctionpush
Dask-version of bottleneck.push .. note:: Requires bottleneck to be installed.
dask/array/overlap.py:895
↓ 1 callersFunctionput_lines
(buf, lines)
dask/utils.py:1197
↓ 1 callersFunctionquantile
This works by automatically chunking the reduced axes to a single chunk if necessary and then calling ``numpy.quantile`` function across the
dask/array/reductions.py:1565
↓ 1 callersFunctionqueue_get
(q)
dask/local.py:131
↓ 1 callersFunctionr
(e, n, t)
docs/source/_static/yaml.min.js:2
↓ 1 callersFunctionraise_not_implemented_error
(attr_name)
dask/array/__init__.py:646
↓ 1 callersMethodrandom_integers
(self, low, high=None, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:681
↓ 1 callersMethodrandom_sample
(self, size=None, chunks="auto", **kwargs)
dask/array/random.py:713
← previousnext →1,801–1,900 of 9,170, ranked by callers