MCPcopy Create free account

hub / github.com/dask/dask / functions

Functions9,170 in github.com/dask/dask

↓ 1 callersMethodrandom_sample
(self, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:687
↓ 1 callersFunctionrandom_state_data_python
Return a list of tuples that can be passed to ``random.Random.setstate``. Parameters ---------- n : int Number of tuples to r
dask/bag/core.py:2563
↓ 1 callersFunctionratio_response
How we display actual size ratios Common ratios in sizes span several orders of magnitude, which is hard for us to perceive. We keep rat
dask/array/svg.py:282
↓ 1 callersMethodravel
Return a flattened list of all the blocks in the array in C order.
dask/array/core.py:6272
↓ 1 callersMethodrayleigh
(self, scale=1.0, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:320
↓ 1 callersFunctionread
(fn, **kwargs)
dask/dataframe/io/tests/test_parquet.py:495
↓ 1 callersFunctionread_bytes
a long followed by that many bytes of data.
dask/bag/avro.py:29
↓ 1 callersFunctionread_header
Extract an avro file's header fo: file-like This should be in bytes mode, e.g., io.BytesIO Returns dict representing the header
dask/bag/avro.py:35
↓ 1 callersFunctionread_json_chunk
( chunk, encoding, errors, engine, column_name, path, path_dtype, kwargs, meta=None )
dask/dataframe/io/json.py:294
↓ 1 callersFunctionread_pandas
( reader, urlpath, blocksize="default", lineterminator=None, compression="infer", samp
dask/dataframe/io/csv.py:418
↓ 1 callersFunctionread_parquet_part
Read a part of a parquet dataset This function is used by `read_parquet`.
dask/dataframe/io/parquet/core.py:175
↓ 1 callersMethodread_partition
Read a single piece of a Parquet dataset into a Pandas DataFrame This function is called many times in individual tasks Parameters
dask/dataframe/io/parquet/utils.py:112
↓ 1 callersMethodread_partition
(cls, fs, part, columns, **kwargs)
dask/dataframe/io/orc/utils.py:14
↓ 1 callersFunctionread_sql
Read SQL query or database table into a DataFrame. This function is a convenience wrapper around ``read_sql_table`` and ``read_sql_query
dask/dataframe/io/sql.py:353
↓ 1 callersFunctionrechunk
Convert blocks in dask array x for new chunks. Parameters ---------- x: dask array Array to be rechunked. chunks: int,
dask/array/_array_expr/_collection.py:933
↓ 1 callersMethodrechunk
( self, chunks="auto", threshold=None, block_size_limit=None, balance=
dask/array/_array_expr/_collection.py:332
↓ 1 callersFunctionreduce_state
(Ms, b)
dask/dataframe/hyperloglog.py:55
↓ 1 callersFunctionreduction_0d_test
(da_func, darr, np_func, narr)
dask/array/tests/test_reductions.py:64
↓ 1 callersFunctionreflect
Reflect boundaries of array on the same side This is the converse of ``periodic``
dask/array/overlap.py:204
↓ 1 callersFunctionregister_chunk_type
Register the given type as a valid chunk and downcast array type Parameters ---------- type : type Duck array type to be register
dask/array/chunk_types.py:9
↓ 1 callersFunctionregister_cupy
()
dask/array/backends.py:132
↓ 1 callersMethodrelease
(self, *args, **kwargs)
dask/utils.py:1325
↓ 1 callersFunctionrelease_data
Remove data from temporary storage See Also -------- finish_task
dask/local.py:273
↓ 1 callersMethodrename
(self, index=None, columns=None)
dask/dataframe/dask_expr/_collection.py:3313
↓ 1 callersMethodrename_axis
( self, mapper=no_default, index=no_default, columns=no_default, axis=0 )
dask/dataframe/dask_expr/_collection.py:2099
↓ 1 callersFunctionrepartition_npartitions
Changes the number of partitions of the bag. This can be used to reduce or increase the number of partitions of the bag.
dask/bag/core.py:2638
↓ 1 callersFunctionrepartition_size
Repartition bag so that new partitions have approximately `size` memory usage each
dask/bag/core.py:2670
↓ 1 callersFunctionrepeat
(a, repeats, axis=None)
dask/array/_array_expr/_creation.py:537
↓ 1 callersFunctionresample
(df, freq, how="mean", **kwargs)
dask/dataframe/tseries/tests/test_resample.py:14
↓ 1 callersFunctionresample
(df, freq, how="mean", **kwargs)
dask/dataframe/tseries/tests/test_resample_expr.py:15
↓ 1 callersFunctionreshape
Reshape array to new shape Parameters ---------- shape : int or tuple of ints The new shape should be compatible with the origina
dask/array/reshape.py:283
↓ 1 callersFunctionright
Wrapper to create 'right' version of operator given left version
dask/delayed.py:654
↓ 1 callersFunctionrnd_test
(func, *args, **kwargs)
dask/array/tests/test_random.py:217
↓ 1 callersFunctionrobust_wraps
A weak version of wraps that only copies doc.
dask/bag/core.py:357
↓ 1 callersFunctionrotate
(X, n_iter=2)
dask/tests/test_order.py:2494
↓ 1 callersFunctionround_to
Return a chunk dimension that is close to an even multiple or factor We want values for c that are nicely aligned with s. If c is smaller th
dask/array/core.py:3441
↓ 1 callersFunctionrun
(depth)
dask/array/tests/test_overlap.py:428
↓ 1 callersFunctionrun_cli
Run the dask command line interface.
dask/cli.py:200
↓ 1 callersFunctionsame_astype
Same as pandas.api.types.is_dtype_equal, but also returns True for str / object
dask/dataframe/io/demo.py:321
↓ 1 callersFunctionsample_percentiles
Construct percentiles for a chunk for repartitioning. Adapt the number of total percentiles calculated based on the number of current and new
dask/dataframe/partitionquantiles.py:86
↓ 1 callersMethodsample_statistics
Sample statistics from the dataset. Sample N file statistics from the dataset. The files are chosen by sorting all files based on the
dask/dataframe/dask_expr/io/parquet.py:940
↓ 1 callersFunctionsave_config
Save new config values to dask config file, return new config and path to file.
dask/cli.py:114
↓ 1 callersFunctionscipy_linalg_safe
(func_name, *args, **kwargs)
dask/array/utils.py:586
↓ 1 callersFunctionset_index_columns
Handle index/column arguments, and modify `meta` Used in read_parquet.
dask/dataframe/io/parquet/core.py:569
↓ 1 callersFunctionsetitem
Chunk function of `setitem_array`. Assign v to indices of x. Parameters ---------- x : numpy/cupy/etc. array The array to be
dask/array/slicing.py:2030
↓ 1 callersFunctionsetitem_array
Master function for array assignment. This function, that is intended to be called by `Array.__setitem__`, creates a new dask that assigns va
dask/array/slicing.py:1464
↓ 1 callersFunctionshape
(x)
dask/array/core.py:5446
↓ 1 callersMethodshape
(self)
dask/array/tests/test_array_core.py:2795
↓ 1 callersFunctionshapelist
Get the shape of nested list
dask/array/core.py:5471
↓ 1 callersMethodshift
(self, periods=1, freq=None)
dask/dataframe/dask_expr/_collection.py:4798
↓ 1 callersMethodshorten
(exc_tb: types.TracebackType)
dask/utils.py:2269
↓ 1 callersFunctionshow_versions
Provide version information for bug reports.
dask/utils.py:2154
↓ 1 callersMethodsimplify
(self)
dask/_expr.py:455
↓ 1 callersMethodsimplify
(self)
dask/array/_array_expr/_collection.py:89
↓ 1 callersMethodsimplify_once
Simplify an expression This leverages the ``._simplify_down`` and ``._simplify_up`` methods defined on each class Parameters
dask/_expr.py:377
↓ 1 callersMethodsize
(self, **kwargs)
dask/dataframe/dask_expr/_groupby.py:1794
↓ 1 callersFunctionskew
(a, axis=0, bias=True, nan_policy="propagate")
dask/array/stats.py:239
↓ 1 callersFunctionskewtest
(a, axis=0, nan_policy="propagate")
dask/array/stats.py:265
↓ 1 callersFunctionslice_array
Main function for array slicing This function makes a new dask that slices blocks along every dimension and aggregates (via cartesian pr
dask/array/slicing.py:101
↓ 1 callersFunctionslice_slices_and_integers
Dask array indexing with slices and integers See Also -------- _slice_1d
dask/array/slicing.py:299
↓ 1 callersFunctionslice_slices_and_integers
(x, index, allow_getitem_optimization=False)
dask/array/_array_expr/_slicing.py:328
↓ 1 callersFunctionslice_with_bool_dask_array
Slice x with one or more dask arrays of bools This is a helper function of `Array.__getitem__`. Parameters ---------- x: Array i
dask/array/slicing.py:1061
↓ 1 callersFunctionslice_with_int_dask_array
Slice x with at most one 1D dask arrays of ints. This is a helper function of :meth:`Array.__getitem__`. Parameters ---------- x: Ar
dask/array/slicing.py:939
↓ 1 callersFunctionslice_with_int_dask_array
Slice x with at most one 1D dask arrays of ints. This is a helper function of :meth:`Array.__getitem__`. Parameters ---------- x: Ar
dask/array/_array_expr/_slicing.py:29
↓ 1 callersFunctionslice_with_int_dask_array_on_axis
Slice a ND dask array with a 1D dask arrays of ints along the given axis. This is a helper function of :func:`slice_with_int_dask_array`.
dask/array/slicing.py:992
↓ 1 callersFunctionslice_with_int_dask_array_on_axis
Slice a ND dask array with a 1D dask arrays of ints along the given axis. This is a helper function of :func:`slice_with_int_dask_array`.
dask/array/_array_expr/_slicing.py:151
↓ 1 callersFunctionslice_with_newaxes
Handle indexing with Nones Strips out Nones then hands off to slice_wrap_lists
dask/array/slicing.py:178
↓ 1 callersFunctionslice_with_newaxes
Handle indexing with Nones Strips out Nones then hands off to slice_wrap_lists
dask/array/_array_expr/_slicing.py:244
↓ 1 callersFunctionslice_wrap_lists
Fancy indexing along blocked array dasks Handles index of type list. Calls slice_slices_and_integers for the rest See Also -------
dask/array/slicing.py:228
↓ 1 callersFunctionslice_wrap_lists
Fancy indexing along blocked array dasks Handles index of type list. Calls slice_slices_and_integers for the rest See Also -------
dask/array/_array_expr/_slicing.py:270
↓ 1 callersFunctionsolve
Solve the equation ``a x = b`` for ``x``. By default, use LU decomposition and forward / backward substitutions. When ``assume_a = "pos"``
dask/array/linalg.py:1208
↓ 1 callersFunctionsolve_triangular_safe
(a, b, lower=False)
dask/array/utils.py:602
↓ 1 callersFunctionsorted_columns
Find sorted columns given row-group statistics This finds all columns that are sorted, along with the appropriate ``divisions`` for those col
dask/dataframe/io/parquet/core.py:403
↓ 1 callersFunctionsqueeze
(a, axis=None)
dask/array/routines.py:1991
↓ 1 callersMethodstandard_exponential
(self, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:328
↓ 1 callersMethodstandard_gamma
(self, shape, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:334
↓ 1 callersMethodstandard_normal
(self, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:713
↓ 1 callersMethodstandard_t
(self, df, size=None, chunks="auto", **kwargs)
dask/array/_array_expr/random.py:344
↓ 1 callersFunctionstats
(x)
dask/array/tests/test_gufunc.py:121
↓ 1 callersMethodstd
(self, *args, **kwargs)
dask/dataframe/dask_expr/_collection.py:4854
↓ 1 callersMethodstop
(self)
dask/dataframe/dask_expr/_indexing.py:332
↓ 1 callersFunctionstringify
Convert an object to a string If ``exclusive`` is specified, search through `obj` and convert values that are in ``exclusive``. Note tha
dask/utils.py:2002
↓ 1 callersFunctionstrip_unknown_categories
Replace any unknown categoricals with empty categoricals. Useful for preventing ``UNKNOWN_CATEGORIES`` from leaking into results.
dask/dataframe/utils.py:191
↓ 1 callersFunctionsubmit_apply_async
(apply_async, fn, *args, **kwargs)
dask/local.py:622
↓ 1 callersFunctionsuffix_reduction
Computes the suffix sums of f on df If df has partitions [P1, P2, ..., Pn], then returns the DataFrame with partitions [f(P1, f(P2, ...f(Pn,
dask/dataframe/dask_expr/_merge_asof.py:384
↓ 1 callersFunctionsvg_1d
(chunks, sizes=None, **kwargs)
dask/array/svg.py:264
↓ 1 callersFunctionsvg_3d
(chunks, size=200, sizes=None, offset=(0, 0))
dask/array/svg.py:88
↓ 1 callersFunctionsvg_lines
Convert points into lines of text for an SVG plot Examples -------- >>> svg_lines([0, 1], [0, 0], [10, 11], [1, 1]) # doctest: +NORMALIZ
dask/array/svg.py:180
↓ 1 callersFunctionsvg_nd
(chunks, size=200)
dask/array/svg.py:146
↓ 1 callersFunctionswapaxes
(a, axis1, axis2)
dask/array/routines.py:170
↓ 1 callersFunctiontest
(c, s, a)
dask/tests/test_expr.py:60
↓ 1 callersFunctiontest
(i)
dask/tests/test_delayed.py:912
↓ 1 callersFunctiontest2
(i)
dask/tests/test_delayed.py:916
↓ 1 callersFunctiontest3
(i)
dask/tests/test_delayed.py:920
↓ 1 callersMethodtest_get
(self)
dask/utils_test.py:61
↓ 1 callersFunctiontest_matches
(c, s)
dask/tests/test_config.py:523
↓ 1 callersFunctiontest_shuffle
(shuffle_method)
dask/dataframe/tests/test_shuffle.py:42
↓ 1 callersFunctiontest_to_hdf
()
dask/dataframe/io/tests/test_hdf.py:26
↓ 1 callersFunctiontest_to_hdf_schedulers
(scheduler, npartitions)
dask/dataframe/io/tests/test_hdf.py:439
↓ 1 callersFunctiontmp_cwd
(dir=None)
dask/utils.py:438
← previousnext →1,901–2,000 of 9,170, ranked by callers