File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -676,7 +676,7 @@ canlang_table
676
676
677
677
Although it looks like we might have obtained the whole data frame from the database, we didn't!
678
678
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
680
680
you which columns are available in the table. But unlike a usual ` pandas ` data frame,
681
681
we do not immediately know how many rows are in the table. In order to find out how many
682
682
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
721
721
we can just stick with Python!
722
722
723
723
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.
726
726
727
727
``` {index} database; head, ibis;
728
728
```
You can’t perform that action at this time.
0 commit comments