We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cbe15a commit 264fdc2Copy full SHA for 264fdc2
spec/API_specification/dataframe_api/dataframe_object.py
@@ -278,6 +278,17 @@ def get_column_names(self) -> list[str]:
278
"""
279
...
280
281
+ @property
282
+ def schema(self) -> dict[str, Any]:
283
+ """
284
+ Get dataframe's schema.
285
+
286
+ Returns
287
+ -------
288
+ dict[str, Any]
289
+ Mapping from column name to data type.
290
291
292
def sort(
293
self,
294
keys: str | list[str] | None = None,
0 commit comments