Skip to content

Commit 246a8b1

Browse files
Merge pull request #302 from UBC-DSCI/ibis-create-column
Ibis: creating columns, fixing bugs
2 parents a4a893e + 9153b68 commit 246a8b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/reading.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ canlang_table
676676

677677
Although it looks like we might have obtained the whole data frame from the database, we didn't!
678678
It's a *reference*; the data is still stored only in the SQLite database. The `canlang_table` object
679-
is an `AlchemyTable` (`ibis` is using `sqlalchemy` under the hood!), which, when printed, tells
679+
is a `DatabaseTable`, which, when printed, tells
680680
you which columns are available in the table. But unlike a usual `pandas` data frame,
681681
we do not immediately know how many rows are in the table. In order to find out how many
682682
rows there are, we have to send an SQL *query* (i.e., command) to the data base.
@@ -721,8 +721,8 @@ response for us. So `ibis` does all the hard work of translating from Python to
721721
we can just stick with Python!
722722

723723
The `ibis` package provides lots of `pandas`-like tools for working with database tables.
724-
For example, we can look at the first few rows of the table by using the `head` function---and
725-
we won't forget to `execute` to see the result!
724+
For example, we can look at the first few rows of the table by using the `head` function,
725+
followed by `execute` to retrieve the response.
726726

727727
```{index} database; head, ibis;
728728
```

0 commit comments

Comments
 (0)