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

Method Allocate

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

Source from the content-addressed store, hash-verified

1623
1624 protected:
1625 Status Allocate() override {
1626 RETURN_NOT_OK(this->AllocateNDArray(NPY_DATETIME));
1627 SetDatetimeUnit(internal::NumPyFrequency(UNIT));
1628 return Status::OK();
1629 }
1630};
1631
1632using 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