Skip to content

Commit

Permalink
add more logs
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
  • Loading branch information
dchigarev committed Oct 12, 2023
1 parent 38493bb commit d66fe8d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ def split_pandas_df_into_partitions(
log = get_logger()

if not distributed_splitting:
print(
"Using sequential splitting in '.from_pandas()' because of some of the condition is False: "
+ f"{enough_elements=}; {all_numeric_types=}; {three_copies_fits_into_memory=}"
)
log.info(
"Using sequential splitting in '.from_pandas()' because of some of the condition is False: "
+ f"{enough_elements=}; {all_numeric_types=}; {three_copies_fits_into_memory=}"
Expand All @@ -115,6 +119,7 @@ def split_pandas_df_into_partitions(
df, row_chunksize, col_chunksize, update_bar
)

print("Using distributed splitting in '.from_pandas()'")
log.info("Using distributed splitting in '.from_pandas()'")
put_func = cls._partition_class.put

Expand Down

0 comments on commit d66fe8d

Please sign in to comment.