Skip to content

Commit 23373a3

Browse files
authored
chore: fix pyspark/sqlframe typo (#1884)
1 parent 9748309 commit 23373a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

narwhals/translate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -385,10 +385,10 @@ def _from_native_impl( # noqa: PLR0915
385385
from narwhals._spark_like.dataframe import SparkLikeLazyFrame
386386

387387
if series_only:
388-
msg = "Cannot only use `series_only` with pyspark DataFrame"
388+
msg = "Cannot only use `series_only` with SQLFrame DataFrame"
389389
raise TypeError(msg)
390390
if eager_only or eager_or_interchange_only:
391-
msg = "Cannot only use `eager_only` or `eager_or_interchange_only` with pyspark DataFrame"
391+
msg = "Cannot only use `eager_only` or `eager_or_interchange_only` with SQLFrame DataFrame"
392392
raise TypeError(msg)
393393
import sqlframe._version
394394

0 commit comments

Comments
 (0)