@@ -210,13 +210,13 @@ pyattr_set([DataFrame, Series], :T, :abs, :align, :any, :argsort, :asfreq, :asof
210
210
:drop_duplicates , :dropna , :duplicated , :fillna , :filter , :first , :first_valid_index ,
211
211
:head , :hist , :idxmax , :idxmin , :iloc , :isin , :join , :last , :last_valid_index ,
212
212
:loc , :mean , :median , :min , :mode , :order , :pct_change , :pivot , :plot , :quantile ,
213
- :rank , :reindex , :reindex_axis , :reindex_like , :rename , :reodrer_levels ,
213
+ :rank , :reindex , :reindex_axis , :reindex_like , :rename , :reorder_levels ,
214
214
:replace , :resample , :reset_index , :sample , :select , :set_index , :shift , :skew ,
215
215
:sort , :sort_index , :sortlevel , :stack , :std , :sum , :swaplevel , :tail , :take ,
216
216
:to_clipboard , :to_csv , :to_dense , :to_dict , :to_excel , :to_gbq , :to_hdf , :to_html ,
217
217
:to_json , :to_latex , :to_msgpack , :to_panel , :to_pickle , :to_records , :to_sparse ,
218
218
:to_sql , :to_string , :truncate , :tz_conert , :tz_localize , :unstack , :var , :weekday ,
219
- :xs , :index , : merge )
219
+ :xs , :merge )
220
220
pyattr_set ([DataFrame], :groupby , :columns )
221
221
222
222
Base. size (x:: Union{Loc, Iloc, Ix} ) = x. pyo[:obj ][:shape ]
@@ -235,6 +235,10 @@ function should_offset(s::Series, arg)
235
235
false
236
236
end
237
237
238
+ function index (x:: PandasWrapped )
239
+ pandas_wrap (x. pyo[" index" ])
240
+ end
241
+
238
242
@pyasvec Series
239
243
@pyasvec Loc
240
244
@pyasvec Ix
0 commit comments