@@ -11,7 +11,8 @@ import Base: getindex, setindex!, length, size, show, merge, convert,
1111 join, replace, lastindex, sum, abs, any, count,
1212 cumprod, cumsum, diff, filter, first, last,
1313 min, sort, truncate, + , - , * , / , ! ,
14- == , > , < , >= , <= , != , & , |
14+ == , > , < , >= , <= , != , & , | ,
15+ keys, close, get
1516import Statistics: mean, std, var, cov, median, quantile
1617
1718
219220@pytype GroupBy ()-> pandas_raw. core. groupby." DataFrameGroupBy"
220221@pytype SeriesGroupBy ()-> pandas_raw. core. groupby." SeriesGroupBy"
221222@pytype Rolling () -> pandas_raw. core. window." Rolling"
223+ @pytype HDFStore () -> pandas_raw. io. pytables. HDFStore
222224
223225@pyattr GroupBy app apply
224226@pyattr Rolling app apply
@@ -245,6 +247,7 @@ pyattr_set([DataFrame, Series], :T, :abs, :align, :any, :argsort, :asfreq, :asof
245247:xs , :merge )
246248pyattr_set ([DataFrame], :groupby )
247249pyattr_set ([Series, DataFrame], :rolling )
250+ pyattr_set ([HDFStore], :put , :append , :get , :select , :info , :keys , :groups , :walk , :close )
248251
249252Base. size (x:: Union{Loc, Iloc, Ix} ) = x. pyo. obj. shape
250253Base. size (df:: PandasWrapped , i:: Integer ) = size (df)[i]
279282@pyasvec Index
280283@pyasvec GroupBy
281284@pyasvec Rolling
285+ @pyasvec HDFStore
282286
283287Base. ndims (df:: Union{DataFrame, Series} ) = length (size (df))
284288
@@ -293,7 +297,7 @@ for m in [:read_pickle, :read_csv, :read_html, :read_json, :read_excel, :read_ta
293297 :rolling_cov , :expanding_cov , :rolling_skew , :expanding_skew , :rolling_kurt ,
294298 :expanding_kurt , :rolling_apply , :expanding_apply , :rolling_quantile ,
295299 :expanding_quantile , :rolling_window , :to_numeric , :read_sql , :read_sql_table ,
296- :read_sql_query ]
300+ :read_sql_query , :read_hdf ]
297301 @eval begin
298302 function $m (args... ; kwargs... )
299303 method = pandas_raw.$ (string (m))
0 commit comments