MCPcopy Create free account

hub / github.com/dask/dask / functions

Functions9,157 in github.com/dask/dask

↓ 17 callersMethodcov
( self, ddof=1, split_every=None, split_out=None, numeric_only=False,
dask/dataframe/dask_expr/_groupby.py:1746
↓ 17 callersMethodcumsum
Return the cumulative sum of the elements along the given axis. Refer to :func:`dask.array.cumsum` for full documentation. See Also
dask/array/core.py:2759
↓ 17 callersMethodisna
(self)
dask/dataframe/dask_expr/_expr.py:375
↓ 17 callersFunctionkey_split
>>> key_split('x') 'x' >>> key_split('x-1') 'x' >>> key_split('x-1-2-3') 'x' >>> key_split(('x-2', 1)) 'x' >>> ke
dask/utils.py:1945
↓ 17 callersMethodmatch
Filter strings by those that match a pattern. Examples -------- >>> import dask.bag as db >>> b = db.from_sequence([
dask/bag/core.py:337
↓ 17 callersMethodtail
(self, n=5, split_every=None, split_out=None)
dask/dataframe/dask_expr/_groupby.py:1853
↓ 17 callersMethodto_json
See dd.to_json docstring for more information
dask/dataframe/dask_expr/_collection.py:2401
↓ 16 callersMethodclose
Shutdown the resource tracker process
dask/diagnostics/profile.py:204
↓ 16 callersMethodcopy
(self)
dask/_task_spec.py:691
↓ 16 callersMethodcumsum
(self, skipna=True)
dask/dataframe/dask_expr/_expr.py:337
↓ 16 callersMethodfrom_dict
Construct a Dask DataFrame from a Python Dictionary See Also -------- dask.dataframe.from_dict
dask/dataframe/dask_expr/_collection.py:2389
↓ 16 callersFunctionfunc
(self, *args, **kwargs)
dask/dataframe/accessor.py:13
↓ 16 callersFunctionfunc
(df)
dask/dataframe/dask_expr/tests/test_groupby.py:812
↓ 16 callersMethodindex
(self)
dask/dataframe/dask_expr/_expr.py:103
↓ 16 callersFunctionistask
Is x a runnable task? A task is a tuple with a callable first argument Examples -------- >>> inc = lambda x: x + 1 >>> istask((
dask/core.py:40
↓ 16 callersMethodnunique
(self)
dask/dataframe/tseries/resample.py:353
↓ 16 callersMethodprod
Return the product of the array elements over the given axis Refer to :func:`dask.array.prod` for full documentation. See Also
dask/array/core.py:2623
↓ 16 callersMethodread_json
Read json files into a DataFrame collection Parameters ---------- url_path : str or list Source path(s).
dask/dataframe/backends.py:103
↓ 16 callersMethodsubstitute
Substitute a specific term within the expression Note that replacing non-`Expr` terms may produce unexpected results, and is not reco
dask/_expr.py:591
↓ 16 callersMethodto_dict
Efficiently convert to plain dict. This method is faster than dict(self).
dask/highlevelgraph.py:564
↓ 16 callersFunctionvalidate_axis
Validate an input to axis= keywords
dask/array/utils.py:514
↓ 15 callersMethod__dask_keys__
The keys for this expression This is used to determine the keys of the output collection when this expression is computed. R
dask/_expr.py:150
↓ 15 callersFunctionbroadcast_to
Broadcast an array to a new shape. Parameters ---------- x : array_like The array to broadcast. shape : tuple The sha
dask/array/core.py:5309
↓ 15 callersFunctionfunc
(path, columns)
dask/dataframe/dask_expr/io/tests/test_io.py:362
↓ 15 callersFunctionfuse
Fuse tasks that form reductions; more advanced than ``fuse_linear`` This trades parallelism opportunities for faster scheduling by making tasks
dask/optimization.py:458
↓ 15 callersMethodget_partition
Get a dask DataFrame/Series representing the `nth` partition. Parameters ---------- n : int The 0-indexe
dask/dataframe/dask_expr/_collection.py:821
↓ 15 callersMethodmax
(self)
dask/dataframe/tseries/resample.py:329
↓ 15 callersFunctionoptimize
(collection, fuse=True)
dask/dataframe/dask_expr/_collection.py:4866
↓ 15 callersMethodoptimize
(self, fuse=False)
dask/tests/test_base.py:93
↓ 15 callersFunctionplain_column_projection
(expr, parent, dependents, additional_columns=None)
dask/dataframe/dask_expr/_expr.py:3955
↓ 15 callersFunctiontimeseries
Create timeseries dataframe with random data Parameters ---------- start: datetime (or datetime-like string) Start of time series
dask/dataframe/dask_expr/datasets.py:186
↓ 14 callersMethod__dask_keys__
(self)
dask/dataframe/dask_expr/_expr.py:93
↓ 14 callersMethod_single_agg
(self, expr_cls, how_args=(), how_kwargs=None)
dask/dataframe/dask_expr/_rolling.py:276
↓ 14 callersMethodany
(self, skipna=True, split_every=False)
dask/dataframe/dask_expr/_expr.py:312
↓ 14 callersFunctionassert_eq
(a, b)
dask/array/tests/test_array_core.py:2523
↓ 14 callersMethoddropna
(self)
dask/dataframe/dask_expr/_collection.py:4436
↓ 14 callersFunctionensure_dict
Convert a generic Mapping into a dict. Optimize use case of :class:`~dask.highlevelgraph.HighLevelGraph`. Parameters ---------- d : M
dask/utils.py:1376
↓ 14 callersFunctionparse_bytes
Parse byte string to numbers >>> from dask.utils import parse_bytes >>> parse_bytes('100') 100 >>> parse_bytes('100 MB') 10000000
dask/utils.py:1582
↓ 14 callersMethodproduct
Cartesian product between two bags.
dask/bag/core.py:1219
↓ 14 callersFunctionreverse_dict
>>> a, b, c = 'abc' >>> d = {a: [b, c], b: [c]} >>> reverse_dict(d) # doctest: +SKIP {'a': set([]), 'b': set(['a']}, 'c': set(['a',
dask/core.py:306
↓ 14 callersMethodstore
(self, target, **kwargs)
dask/array/core.py:1789
↓ 13 callersMethod__dask_graph__
Traverse expression tree, collect layers Subclasses generally do not want to override this method unless custom logic is required to
dask/_expr.py:559
↓ 13 callersMethodabs
(self)
dask/dataframe/dask_expr/_expr.py:357
↓ 13 callersFunctionconvert_legacy_graph
( dsk: Mapping, all_keys: Container | None = None, )
dask/_task_spec.py:259
↓ 13 callersMethodfillna
(self, value=None)
dask/dataframe/dask_expr/_expr.py:401
↓ 13 callersFunctionget_string_dtype
Depending on config setting, we might convert objects to pyarrow strings
dask/dataframe/utils.py:766
↓ 13 callersMethodisnull
(self)
dask/dataframe/dask_expr/_expr.py:378
↓ 13 callersMethodquantile
(self)
dask/dataframe/tseries/resample.py:361
↓ 13 callersMethodto_dask_array
Convert a dask DataFrame to a dask array. Parameters ---------- lengths : bool or Sequence of ints, optional How
dask/dataframe/dask_expr/_collection.py:1391
↓ 12 callersMethod__dask_graph__
(self)
dask/array/tests/test_dispatch.py:131
↓ 12 callersMethodagg
(self, *args, **kwargs)
dask/dataframe/dask_expr/_groupby.py:1960
↓ 12 callersMethodany
Returns True if any of the elements evaluate to True. Refer to :func:`dask.array.any` for full documentation. See Also -----
dask/array/_array_expr/_collection.py:480
↓ 12 callersMethodcompute_chunk_sizes
Compute the chunk sizes for a Dask array. This is especially useful when the chunk sizes are unknown (e.g., when indexing one Dask ar
dask/array/core.py:1465
↓ 12 callersFunctiondivmod
(x, y)
dask/array/ufunc.py:346
↓ 12 callersMethodmean
(self)
dask/dataframe/dask_expr/diagnostics/_analyze_plugin.py:36
↓ 12 callersMethodmemory_usage
(self, deep=False)
dask/dataframe/dask_expr/_collection.py:4760
↓ 12 callersMethodmin
(self)
dask/dataframe/tseries/resample.py:325
↓ 12 callersMethodrepartition
Repartition Bag across new divisions. Parameters ---------- npartitions : int, optional Number of partitions of o
dask/bag/core.py:1666
↓ 12 callersMethodselect_dtypes
(self, include=None, exclude=None)
dask/dataframe/dask_expr/_collection.py:3330
↓ 12 callersMethodto_series
(self, index=None, name=no_default)
dask/dataframe/dask_expr/_collection.py:4748
↓ 11 callersFunction_as_dict
(key, value)
dask/dataframe/dask_expr/_groupby.py:86
↓ 11 callersMethod_numeric_only_kwargs
(self, numeric_only)
dask/dataframe/dask_expr/_groupby.py:1572
↓ 11 callersFunctioncompute
Compute several dask collections at once. Parameters ---------- args : object Any number of objects. If it is a dask object, it's
dask/base.py:685
↓ 11 callersFunctioncompute_as_if_collection
Compute a graph as if it were of type cls. Allows for applying the same optimizations and default scheduler.
dask/base.py:411
↓ 11 callersMethoddtype
(self)
dask/dataframe/dask_expr/_collection.py:4171
↓ 11 callersFunctionfoo
(a, b, c)
dask/tests/test_utils.py:426
↓ 11 callersFunctionget
Multiprocessed get function appropriate for Bags Parameters ---------- dsk : dict dask graph keys : object or list De
dask/multiprocessing.py:147
↓ 11 callersFunctionget_sync
A naive synchronous version of get_async Can be useful for debugging.
dask/local.py:587
↓ 11 callersFunctionhas_known_categories
Returns whether the categories in `x` are known. Parameters ---------- x : Series or CategoricalIndex
dask/dataframe/utils.py:176
↓ 11 callersMethodkeys
(*args)
dask/array/_array_expr/_expr.py:83
↓ 11 callersMethodload
(self)
dask/tests/test_cli.py:231
↓ 11 callersMethodlower_completely
Lower an expression completely This calls the ``lower_once`` method in a loop until nothing changes. This function does not a
dask/_expr.py:502
↓ 11 callersMethodmap_overlap
Apply a function to each partition, sharing rows with adjacent partitions. This can be useful for implementing windowing functions such as
dask/dataframe/dask_expr/_collection.py:1138
↓ 11 callersMethodmax
Return the maximum along a given axis. Refer to :func:`dask.array.max` for full documentation. See Also -------- das
dask/array/core.py:2546
↓ 11 callersMethodmerge
(cls, *graphs: Graph)
dask/highlevelgraph.py:640
↓ 11 callersMethodpivot_table
Create a spreadsheet-style pivot table as a DataFrame. Target ``columns`` must have category dtype to infer result's ``columns``.
dask/dataframe/dask_expr/_collection.py:3694
↓ 11 callersMethodrepeat
Repeat elements of an array. Refer to :func:`dask.array.repeat` for full documentation. See Also -------- dask.array
dask/array/core.py:2978
↓ 11 callersFunctionstore
Store dask arrays in array-like objects, overwrite data in target This stores dask arrays into object that supports numpy-style setitem index
dask/array/core.py:1088
↓ 11 callersMethodto_sql
( self, name: str, uri: str, schema=None, if_exists: str = "fail",
dask/dataframe/dask_expr/_collection.py:2407
↓ 10 callersMethod__dask_keys__
(self)
dask/tests/test_base.py:250
↓ 10 callersMethod__dask_layers__
(self)
dask/bag/core.py:498
↓ 10 callersMethod__dask_optimize__
(cls, dsk, keys, **kwargs)
dask/tests/test_base.py:974
↓ 10 callersFunction_tokenize_deterministic
(*args, **kwargs)
dask/tokenize.py:487
↓ 10 callersFunctionare_co_aligned
Do inputs come from the same parents, modulo blockwise?
dask/dataframe/dask_expr/_expr.py:3205
↓ 10 callersMethoddescribe
Generate descriptive statistics. Dask computes percentiles (used for the ``25%``, ``50%``, and ``75%`` statistics) using an **approxi
dask/dataframe/dask_expr/_collection.py:4578
↓ 10 callersFunctionfunc
(*args)
dask/tests/test_task_spec.py:45
↓ 10 callersFunctionfuse_linear_task_spec
keys are the keys from the graph that are requested by a computation. We can't fuse those together.
dask/_task_spec.py:1105
↓ 10 callersMethodmax
Return the maximum along a given axis. Refer to :func:`dask.array.max` for full documentation. See Also -------- das
dask/array/_array_expr/_collection.py:519
↓ 10 callersMethodmin
Return the minimum along a given axis. Refer to :func:`dask.array.min` for full documentation. See Also -------- das
dask/array/core.py:2533
↓ 10 callersMethodto_delayed
Convert into a list of ``dask.delayed`` objects, one per partition. Parameters ---------- optimize_graph : bool, optional
dask/bag/core.py:1642
↓ 10 callersMethodto_delayed
(self, optimize_graph=True)
dask/dataframe/dask_expr/_collection.py:4862
↓ 10 callersMethodvar
(self)
dask/dataframe/tseries/resample.py:341
↓ 10 callersMethodview
Get a view of the array as a new data type Parameters ---------- dtype: The dtype by which to view the array.
dask/array/core.py:2875
↓ 9 callersMethod_constructor
(self)
dask/dataframe/dask_expr/_quantile.py:49
↓ 9 callersMethodaggregate
(cls, inputs, **kwargs)
dask/dataframe/dask_expr/_groupby.py:657
↓ 9 callersMethodcategorize
Convert columns of the DataFrame to category dtype. .. warning:: This method eagerly computes the categories of the chosen columns.
dask/dataframe/dask_expr/_collection.py:3757
↓ 9 callersMethoddtype
(self)
dask/array/core.py:1523
↓ 9 callersMethodexplode
(self)
dask/dataframe/dask_expr/_collection.py:4455
↓ 9 callersFunctionfrom_array
Create dask array from something that looks like an array. Input must have a ``.shape``, ``.ndim``, ``.dtype`` and support numpy-style slicing.
dask/array/_array_expr/_collection.py:1005
↓ 9 callersFunctionget_scheduler
Get scheduler function There are various ways to specify the scheduler to use: 1. Passing in scheduler= parameters 2. Passing these in
dask/base.py:1225
← previousnext →201–300 of 9,157, ranked by callers