Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Iaroslav Igoshev <[email protected]>
  • Loading branch information
anmyachev and YarShev authored May 13, 2024
1 parent 0b30e13 commit 3090e09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ def create_partition_from_metadata(
Parameters
----------
dtypes : pandas.Series, optional
Dtypes that will be used when calling `astype`.
Column dtypes.
Upon creating a pandas DataFrame from `metadata` we call `astype` since
pandas doesn't allow to pass a list of dtypes directly in the constructor.
**metadata : dict
Metadata that has to be wrapped in a partition.
Expand Down
2 changes: 1 addition & 1 deletion modin/tests/pandas/dataframe/test_join_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_combine(data):
[
(
np.random.randint(0, 100, size=(64, 64)),
np.random.uniform(0, 100, size=(128, 64)),
np.random.randint(0, 100, size=(128, 64)),
),
(
np.random.randint(0, 100, size=(128, 64)),
Expand Down

0 comments on commit 3090e09

Please sign in to comment.