Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ PyTime_to_s
Function
PyTime_to_s
python/pyarrow/src/arrow/python/datetime.h:68–69 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
}
67
68
ARROW_PYTHON_EXPORT
69
inline int64_t PyTime_to_s(PyObject* pytime) { return PyTime_to_us(pytime) / 1000000; }
70
71
ARROW_PYTHON_EXPORT
72
inline int64_t PyTime_to_ms(PyObject* pytime) { return PyTime_to_us(pytime) / 1000; }
Callers
1
Convert
Method · 0.85
Calls
1
PyTime_to_us
Function · 0.85
Tested by
no test coverage detected