@@ -252,7 +252,7 @@ pyattr_set([DataFrame, Series], :T, :abs, :align, :any, :argsort, :asfreq, :asof
252252:to_clipboard , :to_csv , :to_dense , :to_dict , :to_excel , :to_gbq , :to_hdf , :to_html ,
253253:to_json , :to_latex , :to_msgpack , :to_panel , :to_pickle , :to_records , :to_sparse ,
254254:to_sql , :to_string , :truncate , :tz_conert , :tz_localize , :unstack , :var , :weekday ,
255- :xs , :merge )
255+ :xs , :merge , :equals )
256256pyattr_set ([DataFrame], :groupby )
257257pyattr_set ([Series, DataFrame], :rolling )
258258pyattr_set ([HDFStore], :put , :append , :get , :select , :info , :keys , :groups , :walk , :close )
@@ -452,11 +452,17 @@ function !(df::PandasWrapped)
452452end
453453
454454include (" tabletraits.jl" )
455+ include (" tables.jl" )
455456
456457function DataFrame (obj)
457458 y = _construct_pandas_from_iterabletable (obj)
458459 if y=== nothing
459- return invoke (DataFrame, Tuple{Vararg{Any}}, obj)
460+ y = _construct_pandas_from_tables (obj)
461+ if y=== nothing
462+ return invoke (DataFrame, Tuple{Vararg{Any}}, obj)
463+ else
464+ return y
465+ end
460466 else
461467 return y
462468 end
0 commit comments