xhochy / fletcher

Pandas ExtensionDType/Array backed by Apache Arrow

Home Page:https://fletcher.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add str.extract

xhochy opened this issue · comments

  • ✔️ pandas function
  • ❌ no Python function
  • ❌ needs a regular expression library
  • ✔️ no need for a Unicode database
  • ❌ cannot pre-compute output size

Pseudo-Code:

Inputs: pat, expand

builder = StringBuilder()
for row in rows:
    if isnull(row)
        builder.addnull()
    else:
        # TODO …