MCPcopy Create free account

hub / github.com/dask/dask / functions

Functions9,157 in github.com/dask/dask

↓ 3 callersMethodto_avro
( self, filename, schema, name_function=None, storage_options=None,
dask/bag/core.py:842
↓ 3 callersMethodto_bag
Create a Dask Bag from a Series
dask/dataframe/dask_expr/_collection.py:2489
↓ 3 callersMethodto_dataframe
Create Dask Dataframe from a Dask Bag. Bag should contain tuples, dict records, or scalars. Index will not be particularly meaningfu
dask/bag/core.py:1561
↓ 3 callersFunctionto_datetime
(arg, meta=None, **kwargs)
dask/dataframe/dask_expr/_collection.py:6124
↓ 3 callersMethodto_frame
(self, name=no_default)
dask/dataframe/dask_expr/_collection.py:4243
↓ 3 callersMethodto_html
(self, max_rows=5)
dask/dataframe/dask_expr/_collection.py:4061
↓ 3 callersMethodto_list_tuple
(self)
dask/dataframe/dask_expr/io/parquet.py:1619
↓ 3 callersMethodto_timestamp
(self, freq=None, how="start")
dask/dataframe/dask_expr/_expr.py:372
↓ 3 callersFunctiontolist
(obj)
dask/dataframe/dispatch.py:90
↓ 3 callersMethodtopk
K largest elements in collection Optionally ordered by some key function >>> import dask.bag as db >>> b = db.from_sequence(
dask/bag/core.py:953
↓ 3 callersFunctionunpack_scalar_dask_kwargs
Extracts dask values from kwargs. Currently only ``dask.bag.Item`` and ``dask.delayed.Delayed`` are supported. Returns a merged dask graph a
dask/bag/core.py:2106
↓ 3 callersMethodunregister
(self)
dask/callbacks.py:82
↓ 3 callersFunctionupdate_defaults
Add a new set of defaults to the configuration It does two things: 1. Add the defaults to a global collection to be used by refresh later
dask/config.py:683
↓ 3 callersFunctionvalid_divisions
Are the provided divisions valid? Examples -------- >>> valid_divisions([1, 2, 3]) True >>> valid_divisions([3, 2, 1]) False
dask/dataframe/utils.py:672
↓ 3 callersFunctionvar
(a, axis=None, dtype=None, keepdims=False, ddof=0, split_every=None, out=None)
dask/array/reductions.py:640
↓ 3 callersMethodvar
(self, *args, **kwargs)
dask/dataframe/dask_expr/_collection.py:4822
↓ 3 callersFunctionwait_on
Ensure that all chunks of all input collections have been computed before computing the dependents of any of the chunks. The following exampl
dask/graph_manipulation.py:478
↓ 2 callersMethod__dask_graph__
(self)
dask/bag/core.py:492
↓ 2 callersMethod__dask_graph__
(self)
dask/tests/test_typing.py:53
↓ 2 callersMethod__dask_graph__
(self)
dask/array/_array_expr/_collection.py:69
↓ 2 callersMethod__dask_keys__
(self)
dask/dataframe/dask_expr/_collection.py:551
↓ 2 callersMethod__dask_keys__
(self)
dask/tests/test_typing.py:56
↓ 2 callersMethod__dask_postpersist__
(self)
dask/tests/test_typing.py:62
↓ 2 callersMethod__enter__
(self)
dask/diagnostics/profile.py:67
↓ 2 callersMethod__exit__
(self, *args)
dask/diagnostics/profile.py:72
↓ 2 callersMethod__init__
(self, key, dsk, length=None, layer=None)
dask/delayed.py:681
↓ 2 callersMethod__init__
( self, key: Any, func: Callable, /, *args: Any, _data_produce
dask/_task_spec.py:647
↓ 2 callersMethod__new__
(cls, *args, _determ_token=None, **kwargs)
dask/_expr.py:60
↓ 2 callersMethod__repr__
(self)
dask/dataframe/dask_expr/_collection.py:4741
↓ 2 callersFunction_add_graphviz_edges
(explain_info, graph)
dask/dataframe/dask_expr/diagnostics/_explain.py:71
↓ 2 callersFunction_apply_chunk
(df, *by, dropna=None, observed=None, **kwargs)
dask/dataframe/groupby.py:337
↓ 2 callersMethod_apply_min_count
(self, result, min_count)
dask/dataframe/dask_expr/_collection.py:1482
↓ 2 callersMethod_arrow_table_to_pandas
( cls, arrow_table: pa.Table, categories, dtype_backend=None, convert_
dask/dataframe/io/parquet/arrow.py:1786
↓ 2 callersFunction_as_dtype
(a, dtype)
dask/array/core.py:4848
↓ 2 callersFunction_as_dtype
(a, dtype)
dask/array/_array_expr/_collection.py:1198
↓ 2 callersFunction_average
( a, axis=None, weights=None, returned=False, is_masked=False, keepdims=False )
dask/array/routines.py:2507
↓ 2 callersFunction_backend_name
()
dask/dataframe/dask_expr/tests/_util.py:12
↓ 2 callersFunction_balance_chunksizes
Balance the chunk sizes Parameters ---------- chunks : tuple[int, ...] Chunk sizes for Dask array. Returns -------
dask/array/rechunk.py:836
↓ 2 callersFunction_breakpoints
>>> new = cumdims_label(((2, 3), (2, 2, 1)), 'n') >>> old = cumdims_label(((2, 2, 1), (5,)), 'o') >>> _breakpoints(new[0], old[0])
dask/array/rechunk.py:46
↓ 2 callersMethod_broadcast_dep
(self, dep: Expr)
dask/dataframe/dask_expr/_expr.py:582
↓ 2 callersFunction_build_agg_args
Create transformation functions for a normalized aggregate spec. Parameters ---------- spec: a list of (result-column, aggregation-f
dask/dataframe/groupby.py:699
↓ 2 callersFunction_build_agg_args_var
(result_column, func, func_args, func_kwargs, input_column)
dask/dataframe/groupby.py:840
↓ 2 callersFunction_build_map_layer
Apply func to all keys of collection. Create a Blockwise layer whenever possible; fall back to MaterializedLayer otherwise. Parameters --
dask/graph_manipulation.py:148
↓ 2 callersFunction_cal_max_chunk_size
(chunks, start, stop)
dask/array/reshape.py:220
↓ 2 callersFunction_calc_maybe_new_divisions
Maybe calculate new divisions by periods of size freq Used to shift the divisions for the `shift` method. If freq isn't a fixed size (not anc
dask/dataframe/dask_expr/_util.py:20
↓ 2 callersFunction_check_dsk
Check that graph is well named and non-overlapping
dask/array/utils.py:205
↓ 2 callersFunction_check_regular_chunks
Check if the chunks are regular "Regular" in this context means that along every axis, the chunks all have the same size, except the last one
dask/array/core.py:4151
↓ 2 callersFunction_choice_validate_params
(state, a, size, replace, p, axis, chunks)
dask/array/random.py:828
↓ 2 callersFunction_choice_validate_params
(state, a, size, replace, p, axis, chunks)
dask/array/_array_expr/random.py:805
↓ 2 callersFunction_cholesky
Private function to perform Cholesky decomposition, which returns both lower and upper triangulars.
dask/array/linalg.py:1321
↓ 2 callersFunction_choose_rechunk_method
(old_chunks, new_chunks, threshold=None)
dask/array/rechunk.py:393
↓ 2 callersFunction_clean_new_division_boundaries
(new_partitions_boundaries, frame_npartitions)
dask/dataframe/dask_expr/_repartition.py:498
↓ 2 callersFunction_combine_stats
Combine multiple file-level statistics into a single dict of metrics that represent the average values of the parquet statistics
dask/dataframe/dask_expr/io/parquet.py:2007
↓ 2 callersMethod_compute_partition_boundaries
(n_new_partitions, n_old_partitions)
dask/dataframe/dask_expr/_repartition.py:178
↓ 2 callersFunction_convert_dask_keys
(keys)
dask/_expr.py:1322
↓ 2 callersFunction_convert_int_chunk_to_tuple
(shape, chunks)
dask/array/core.py:3230
↓ 2 callersFunction_convert_to_numeric
(series, skipna)
dask/dataframe/core.py:437
↓ 2 callersMethod_corr
( self, method="pearson", min_periods=None, numeric_only=False, split_
dask/dataframe/dask_expr/_collection.py:1824
↓ 2 callersMethod_cov
( self, min_periods=None, numeric_only=False, split_every=False, scalar=False )
dask/dataframe/dask_expr/_collection.py:1818
↓ 2 callersFunction_dask_expr_enabled
()
dask/dataframe/__init__.py:4
↓ 2 callersMethod_delegate_property
(obj, accessor, attr)
dask/dataframe/dask_expr/_accessor.py:50
↓ 2 callersMethod_depth
Depth of the expression tree Returns ------- depth: int
dask/_expr.py:187
↓ 2 callersMethod_divisions
(self)
dask/dataframe/dask_expr/datasets.py:53
↓ 2 callersMethod_divisions
(self)
dask/dataframe/dask_expr/_shuffle.py:1003
↓ 2 callersMethod_divisions
(self)
dask/dataframe/dask_expr/_merge.py:224
↓ 2 callersMethod_downcast_args
(self, args)
dask/array/tests/test_dispatch.py:114
↓ 2 callersMethod_draw_bar
(self, frac, elapsed)
dask/diagnostics/progress.py:141
↓ 2 callersFunction_drop_mean
TODO: In pandas 2.0, mean is implemented for datetimes, but Dask returns None.
dask/dataframe/dask_expr/tests/test_describe.py:47
↓ 2 callersFunction_drop_mean
TODO: In pandas 2.0, mean is implemented for datetimes, but Dask returns None.
dask/dataframe/tests/test_dataframe.py:72
↓ 2 callersFunction_elemwise_normalize_out
(out)
dask/array/core.py:5230
↓ 2 callersFunction_expand_key
(key, hdf)
dask/dataframe/io/hdf.py:496
↓ 2 callersFunction_explain_info
(expr: BaseExpr)
dask/dataframe/dask_expr/diagnostics/_explain.py:77
↓ 2 callersFunction_extract_meta
Extract internal cache data (``_meta``) from dd.DataFrame / dd.Series
dask/dataframe/dask_expr/_expr.py:4129
↓ 2 callersFunction_extract_stats
Take the raw file statistics as returned by pyarrow (as a dict) and filter it to what we care about. The full stats are a bit too verbose and we
dask/dataframe/dask_expr/io/parquet.py:1868
↓ 2 callersFunction_fftshift_helper
(x, axes=None, inverse=False)
dask/array/fft.py:282
↓ 2 callersFunction_filters_to_expression
(filters, propagate_null=False, nan_is_null=True)
dask/dataframe/io/parquet/arrow.py:364
↓ 2 callersMethod_finalizer
(self)
dask/dataframe/dask_expr/_quantile.py:56
↓ 2 callersFunction_geometric
(p)
dask/bag/random.py:193
↓ 2 callersFunction_get_axis
Get axis along which point-wise slicing results lie This is mostly a hack because I can't figure out NumPy's rule on this and can't be bother
dask/array/core.py:6011
↓ 2 callersFunction_get_col_size
(data)
dask/sizeof.py:239
↓ 2 callersFunction_get_coord_mapping
Calculate coordinate mapping for graph construction. This function handles the high-level logic behind Blockwise graph construction. The outp
dask/blockwise.py:823
↓ 2 callersFunction_get_engine
( engine: Literal["pyarrow"] | ORCEngine, )
dask/dataframe/io/orc/core.py:19
↓ 2 callersFunction_get_meta_ufunc
(dfs, args, func)
dask/dataframe/dask_expr/_expr.py:798
↓ 2 callersFunction_get_overlap_rechunked_chunks
(x, depth2)
dask/array/overlap.py:370
↓ 2 callersFunction_get_overlap_rechunked_chunks
(x, depth2)
dask/array/_array_expr/_overlap.py:384
↓ 2 callersFunction_get_predicate_components
(predicate, components, type_=Or)
dask/dataframe/dask_expr/_expr.py:4004
↓ 2 callersFunction_get_pyarrow_dtypes
Convert a pyarrow.Schema object to pandas dtype dict
dask/dataframe/io/utils.py:39
↓ 2 callersFunction_get_quantile_chunks
(a, q, axis, keepdims)
dask/array/reductions.py:1842
↓ 2 callersFunction_get_some_layer_name
Somehow get a unique name for a Layer from a non-HighLevelGraph dask mapping
dask/highlevelgraph.py:1002
↓ 2 callersFunction_get_symmat
(size)
dask/array/tests/test_linalg.py:757
↓ 2 callersMethod_get_token
(self)
dask/_task_spec.py:702
↓ 2 callersFunction_graph_size_threshold
(old_chunks, new_chunks, threshold)
dask/array/rechunk.py:681
↓ 2 callersFunction_groupby_apply_funcs
Group a dataframe and apply multiple aggregation functions. Parameters ---------- df: pandas.DataFrame The dataframe to work
dask/dataframe/groupby.py:965
↓ 2 callersFunction_infer_block_size
()
dask/dataframe/io/csv.py:400
↓ 2 callersFunction_intersect_1d
Internal utility to intersect chunks for 1d after preprocessing. >>> new = cumdims_label(((2, 3), (2, 2, 1)), 'n') >>> old = cumdims_lab
dask/array/rechunk.py:60
↓ 2 callersFunction_is_numeric_cast_type
(dtype)
dask/dataframe/dask_expr/_shuffle.py:231
↓ 2 callersFunction_largest_block_size
(chunks)
dask/array/rechunk.py:414
↓ 2 callersMethod_loc_series
(self, iindexer, cindexer, check_alignment=True)
dask/dataframe/dask_expr/_indexing.py:131
↓ 2 callersMethod_locations
(self)
dask/dataframe/dask_expr/io/io.py:529
↓ 2 callersFunction_lol_product
List of list of tuple keys, similar to `itertools.product`. Parameters ---------- head : tuple Prefix prepended to all results.
dask/blockwise.py:999
← previousnext →801–900 of 9,157, ranked by callers