File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def skip_under_30(erows):
14
14
15
15
# Export to pandas
16
16
table = Table (SOURCE , post_convert = [skip_under_30 ])
17
- storage = table .save ('persons' , backend = 'pandas' )
17
+ storage = table .save ('persons' , storage = 'pandas' )
18
18
pprint (storage ['persons' ])
19
19
# Will print (if use skip_under_30 filter)
20
20
# id age name
Original file line number Diff line number Diff line change 11
11
12
12
# Open from WEB save to SQL database
13
13
table = Table (SOURCE , schema = SCHEMA )
14
- table .save ('articles' , backend = 'sql' , engine = db )
14
+ table .save ('articles' , storage = 'sql' , engine = db )
15
15
16
16
# Open from SQL save to DRIVE
17
- table = Table ('articles' , backend = 'sql' , engine = db )
17
+ table = Table ('articles' , storage = 'sql' , engine = db )
18
+ table .infer ()
18
19
table .schema .save ('tmp/articles.json' )
19
20
table .save ('tmp/articles.csv' )
20
21
You can’t perform that action at this time.
0 commit comments