(self, other, join="outer")
| 2102 | return new_collection(self.expr.rename_axis(mapper, index, columns, axis)) |
| 2103 | |
| 2104 | def _create_alignable_frame(self, other, join="outer"): |
| 2105 | if not is_dask_collection(other) and ( |
| 2106 | is_series_like(other) or is_dataframe_like(other) |
| 2107 | ): |
| 2108 | if join in ("inner", "left"): |
| 2109 | npartitions = 1 |
| 2110 | else: |
| 2111 | # We have to trigger alignment, otherwise pandas will add |
| 2112 | # the same values to every partition |
| 2113 | npartitions = 2 |
| 2114 | other = from_pandas(other, npartitions=npartitions) |
| 2115 | return other |
| 2116 | |
| 2117 | @derived_from(pd.DataFrame) |
| 2118 | def align(self, other, join="outer", axis=None, fill_value=None): |
no test coverage detected