You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The __dataframe_namespace__ method is currently modeled on the corresponding method in the array API. However, we're in a slightly different situation here, with a separate developer-facing API. There is a need to convert to/from the DataFrame and namespace from a non-standard-compliant user facing dataframe object. We already have the reverse, but this bit is missing - see #156 (comment).
Probably the pattern should be:
pdx, df_compliant=df.__dataframe_namespace__()
# use API standard ....returndf_compliant.dataframe
when going from public API in a df-using library to the standard-using internals. Inside the internals there should then be only usage of the standard-compliant dataframe ideally.