From 8eb74da55fd0777e06569c92780708af0f3637b6 Mon Sep 17 00:00:00 2001 From: Dmitry Chigarev Date: Tue, 10 Oct 2023 09:54:49 +0000 Subject: [PATCH] fix pydocstyle Signed-off-by: Dmitry Chigarev --- modin/core/dataframe/pandas/partitioning/partition_manager.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modin/core/dataframe/pandas/partitioning/partition_manager.py b/modin/core/dataframe/pandas/partitioning/partition_manager.py index fffd69f00f2..fea0c686a96 100644 --- a/modin/core/dataframe/pandas/partitioning/partition_manager.py +++ b/modin/core/dataframe/pandas/partitioning/partition_manager.py @@ -832,7 +832,6 @@ def from_pandas(cls, df, return_dims=False): np.ndarray or (np.ndarray, row_lengths, col_widths) A NumPy array with partitions (with dimensions or not). """ - num_splits = NPartitions.get() row_chunksize = compute_chunksize(df.shape[0], num_splits) col_chunksize = compute_chunksize(df.shape[1], num_splits)