@@ -11,7 +11,8 @@ import Base: getindex, setindex!, length, size, show, merge, convert,
11
11
join, replace, lastindex, sum, abs, any, count,
12
12
cumprod, cumsum, diff, filter, first, last,
13
13
min, sort, truncate, + , - , * , / , ! ,
14
- == , > , < , >= , <= , != , & , |
14
+ == , > , < , >= , <= , != , & , | ,
15
+ keys, close, get
15
16
import Statistics: mean, std, var, cov, median, quantile
16
17
17
18
219
220
@pytype GroupBy ()-> pandas_raw. core. groupby." DataFrameGroupBy"
220
221
@pytype SeriesGroupBy ()-> pandas_raw. core. groupby." SeriesGroupBy"
221
222
@pytype Rolling () -> pandas_raw. core. window." Rolling"
223
+ @pytype HDFStore () -> pandas_raw. io. pytables. HDFStore
222
224
223
225
@pyattr GroupBy app apply
224
226
@pyattr Rolling app apply
@@ -245,6 +247,7 @@ pyattr_set([DataFrame, Series], :T, :abs, :align, :any, :argsort, :asfreq, :asof
245
247
:xs , :merge )
246
248
pyattr_set ([DataFrame], :groupby )
247
249
pyattr_set ([Series, DataFrame], :rolling )
250
+ pyattr_set ([HDFStore], :put , :append , :get , :select , :info , :keys , :groups , :walk , :close )
248
251
249
252
Base. size (x:: Union{Loc, Iloc, Ix} ) = x. pyo. obj. shape
250
253
Base. size (df:: PandasWrapped , i:: Integer ) = size (df)[i]
279
282
@pyasvec Index
280
283
@pyasvec GroupBy
281
284
@pyasvec Rolling
285
+ @pyasvec HDFStore
282
286
283
287
Base. ndims (df:: Union{DataFrame, Series} ) = length (size (df))
284
288
@@ -293,7 +297,7 @@ for m in [:read_pickle, :read_csv, :read_html, :read_json, :read_excel, :read_ta
293
297
:rolling_cov , :expanding_cov , :rolling_skew , :expanding_skew , :rolling_kurt ,
294
298
:expanding_kurt , :rolling_apply , :expanding_apply , :rolling_quantile ,
295
299
:expanding_quantile , :rolling_window , :to_numeric , :read_sql , :read_sql_table ,
296
- :read_sql_query ]
300
+ :read_sql_query , :read_hdf ]
297
301
@eval begin
298
302
function $m (args... ; kwargs... )
299
303
method = pandas_raw.$ (string (m))
0 commit comments