(self, other, join="outer")
| 2062 | return new_collection(self.expr.rename_axis(mapper, index, columns, axis)) |
| 2063 | |
| 2064 | def _create_alignable_frame(self, other, join="outer"): |
| 2065 | if not is_dask_collection(other) and ( |
| 2066 | is_series_like(other) or is_dataframe_like(other) |
| 2067 | ): |
| 2068 | if join in ("inner", "left"): |
| 2069 | npartitions = 1 |
| 2070 | else: |
| 2071 | # We have to trigger alignment, otherwise pandas will add |
| 2072 | # the same values to every partition |
| 2073 | npartitions = 2 |
| 2074 | other = from_pandas(other, npartitions=npartitions) |
| 2075 | return other |
| 2076 | |
| 2077 | @derived_from(pd.DataFrame) |
| 2078 | def align(self, other, join="outer", axis=None, fill_value=None): |
no test coverage detected