Skip to content

Commit ebba468

Browse files
committed
Updated a tutorial in README
1 parent 02f47db commit ebba468

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ df add: #('Barcelona' 1.609 true).
5252
This way is the best for creating simple examples for testing since you can see how the data will be arranged in your data frame.
5353

5454
```smalltalk
55-
df := DataFrame rows: #(
55+
df := DataFrame fromRows: #(
5656
('Barcelona' 1.609 true)
5757
('Dubai' 2.789 true)
5858
('London' 8.788 false)).
@@ -62,7 +62,7 @@ df := DataFrame rows: #(
6262
We can do the same by passing an array of columns
6363

6464
```smalltalk
65-
df := DataFrame rows: #(
65+
df := DataFrame fromColumns: #(
6666
('Barcelona' 'Dubai' 'London')
6767
(1.609 2.789 8.788)
6868
(true true false)).

0 commit comments

Comments
 (0)