Skip to content

Commit 1fa9f8f

Browse files
committed
refactor: Use property
Makes it easier to spot when patterns can be moved up a level in the protocol
1 parent b6d0711 commit 1fa9f8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

narwhals/_pandas_like/namespace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def concat(
286286
native = self._concat_diagonal(dfs)
287287
else:
288288
raise NotImplementedError
289-
return PandasLikeDataFrame.from_native(native, context=self)
289+
return self._dataframe.from_native(native, context=self)
290290

291291
def when(self: Self, predicate: PandasLikeExpr) -> PandasWhen:
292292
return PandasWhen.from_expr(predicate, context=self)

0 commit comments

Comments
 (0)