We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1aeb4a commit 51c07b7Copy full SHA for 51c07b7
modin/core/dataframe/pandas/dataframe/dataframe.py
@@ -4718,7 +4718,6 @@ def to_pandas(self):
4718
# Hacky way to coerce the output to the correct type for booleans which might
4719
# contain NA
4720
if len(df.columns) and self.has_materialized_dtypes:
4721
- #df = df.astype(self.dtypes)
4722
for col in self.dtypes.index:
4723
if df.dtypes[col] != self.dtypes[col] and self.dtypes[col] == np.dtype('bool'):
4724
df[col] = df[col].replace(1.0, True).replace(0.0, False)
0 commit comments