Skip to content

Conversation

@jaketrookman
Copy link
Contributor

@jaketrookman jaketrookman commented Jan 23, 2026

This PR ads Categorical functionality to isnull through the isna function.
Adds tests

@codecov
Copy link

codecov bot commented Jan 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@58c09ad). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #5337   +/-   ##
========================================
  Coverage        ?   100.00%           
========================================
  Files           ?         5           
  Lines           ?       115           
  Branches        ?         0           
========================================
  Hits            ?       115           
  Misses          ?         0           
  Partials        ?         0           
Flag Coverage Δ
python-coverage 100.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jaketrookman jaketrookman force-pushed the isnull_pandas_extension branch from 08d6b78 to c6477b5 Compare January 27, 2026 16:17
@jaketrookman jaketrookman marked this pull request as ready for review January 27, 2026 20:49
@jaketrookman jaketrookman force-pushed the isnull_pandas_extension branch 7 times, most recently from 565b977 to 4f5a1f8 Compare January 29, 2026 16:11
@jaketrookman jaketrookman force-pushed the isnull_pandas_extension branch from 4f5a1f8 to d899a15 Compare January 29, 2026 16:57
@jaketrookman jaketrookman changed the title Draft isnull arkouda pandas extension update pandas extension update: adding Categorical to the isnull function Jan 29, 2026
@jaketrookman jaketrookman requested a review from ajpotts January 29, 2026 18:30

return zeros(self._data.size, dtype=bool_)

def isnull(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isnull should return an ExtensionArray. In this case it would be an ArkoudaArray (numerical/bool). In general, the pandas extension array API allows numpy/ExtensionArray/numpy scalar outputs. Make sure the return type is included in the signature and in the docstring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants