Skip to content

Commit e96f5d3

Browse files
committed
fixup features
1 parent 8f20824 commit e96f5d3

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Seamlessly support both, without depending on either!
1313

1414
-**Just use** a subset of **the Polars API**, no need to learn anything new
1515
-**No dependencies** (not even Polars), keep your library lightweight
16-
-Be **lazy**
16+
-Support both **lazy** and eager execution
1717
- ✅ Use Polars **Expressions**
1818

1919
**Note: this is work-in-progress, and a bit of an experiment, don't take it too seriously**.

f.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ def my_agnostic_function(
4444
"city": ["London", "Paris", "Oslo", "London", "Paris", "London"],
4545
}
4646

47-
reveal_type(parts)
48-
4947
print("pandas output:")
5048
print(
5149
my_agnostic_function(
@@ -60,7 +58,7 @@ def my_agnostic_function(
6058
pl.DataFrame(parts),
6159
)
6260
)
63-
reveal_type(
61+
print(
6462
my_agnostic_function(
6563
pl.DataFrame(suppliers),
6664
pl.DataFrame(parts),

t.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import narwhals as nw
77

88
df_raw = pd.DataFrame({"a": [1, 3, 2], "b": [4, 4, 6], "z": [7.0, 8, 9]})
9-
df = nw.DataFrame(df_raw, features=["lazy"])
9+
df = nw.DataFrame(df_raw)
1010
df_raw_2 = pd.DataFrame({"a": [1, 3], "c": [7, 9]})
1111
df2 = nw.DataFrame(df_raw_2, features=["lazy"])
1212

0 commit comments

Comments
 (0)