Skip to content

Commit

Permalink
GH-38528: [Python][Compute] Improve strptime format description
Browse files Browse the repository at this point in the history
Splits a long sentence, makes the language more directive.

Co-authored-by: Rok Mihevc <rok@mihevc.org>
  • Loading branch information
no23reason and rok authored Nov 13, 2023
1 parent 4dfa21a commit a301c7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyarrow/_compute.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1682,8 +1682,8 @@ class StrptimeOptions(_StrptimeOptions):
----------
format : str
Pattern for parsing input strings as timestamps, such as "%Y/%m/%d".
Note that the semantics of the format follow the C/C++ strptime, not the Python one:
there can be slight differences in behavior, for example, how the "%y" placeholder
Note that the semantics of the format follow the C/C++ strptime, not the Python one.
There are differences in behavior, for example how the "%y" placeholder
handles years with less than four digits.
unit : str
Timestamp unit of the output.
Expand Down

0 comments on commit a301c7c

Please sign in to comment.