10000 Add _format_str mapping to interchange protocol by AlenkaF · Pull Request #62 · data-apis/dataframe-api · GitHub
[go: up one dir, main page]

Skip to content

Add _format_str mapping to interchange protocol #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion protocol/pandas_implementation.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def _dtype_from_pandasdtype(self, dtype) -> Tuple[enum.IntEnum, int, str, str]:

def _format_str(self, format_str) -> str:
"""
Mapping of NumPy formt strings to
Mapping of NumPy format strings to
Apache Arrow C Data Interface format strings.
'O' categorical mapped as 'U': large utf-8 string for now
"""
Expand Down
0