Skip to content

Commit b7ea898

Browse files
committed
DOC: some deprecation warnings removed
1 parent 94c6c0c commit b7ea898

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/source/whatsnew/v0.10.0.txt

+2-3
Original file line numberDiff line numberDiff line change
@@ -303,11 +303,10 @@ Updated PyTables Support
303303
store.append('wp',wp)
304304

305305
# selecting via A QUERY
306-
store.select('wp',
307-
[ Term('major_axis>20000102'), Term('minor_axis', '=', ['A','B']) ])
306+
store.select('wp', "major_axis>20000102 and minor_axis=['A','B']")
308307

309308
# removing data from tables
310-
store.remove('wp', Term('major_axis>20000103'))
309+
store.remove('wp', "major_axis>20000103")
311310
store.select('wp')
312311

313312
# deleting a store

doc/source/whatsnew/v0.10.1.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ perform queries on a table, by passing a list to ``data_columns``
5858

5959
# on-disk operations
6060
store.append('df', df, data_columns = ['B','C','string','string2'])
61-
store.select('df',[ 'B > 0', 'string == foo' ])
61+
store.select('df').dtypes
62+
store.select('df', "B>0 and string==foo")
6263

6364
# this is in-memory version of this type of selection
6465
df[(df.B > 0) & (df.string == 'foo')]
@@ -110,7 +111,7 @@ columns, this is equivalent to passing a
110111
store.select('mi')
111112

112113
# the levels are automatically included as data columns
113-
store.select('mi', Term('foo=bar'))
114+
store.select('mi', 'foo=bar')
114115

115116
Multi-table creation via ``append_to_multiple`` and selection via
116117
``select_as_multiple`` can create/select from multiple tables and return a

0 commit comments

Comments
 (0)