MCPcopy Create free account
hub / github.com/apache/arrow / Allocate

Method Allocate

python/pyarrow/src/arrow/python/arrow_to_pandas.cc:1601–1605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1599
1600 protected:
1601 Status Allocate() override {
1602 RETURN_NOT_OK(this->AllocateNDArray(NPY_DATETIME));
1603 SetDatetimeUnit(internal::NumPyFrequency(UNIT));
1604 return Status::OK();
1605 }
1606};
1607
1608using DatetimeSecondWriter = DatetimeWriter<TimeUnit::SECOND>;

Callers

nothing calls this directly

Calls 3

NumPyFrequencyFunction · 0.85
AllocateNDArrayMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected