Metadata-Version: 2.1
Name: a-pandas-ex-sequence-search
Version: 0.10
Summary: Sequence / string search with NumPy in pandas DataFrames
Home-page: https://github.com/hansalemaos/a_pandas_ex_sequence_search
Author: Johannes Fischer
Author-email: aulasparticularesdealemaosp@gmail.com
License: MIT
Keywords: sequence,search,string,numpy
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
License-File: LICENSE.rst
Requires-Dist: a-pandas-ex-apply-ignore-exceptions
Requires-Dist: npsearchsequence
Requires-Dist: pandas


# Sequence / string search with NumPy in pandas DataFrames

## pip install a-pandas-ex-sequence-search

### Tested against Windows 10 / Python 3.11 / Anaconda 


```python
import pandas as pd
from a_pandas_ex_sequence_search import pd_add_find_sequence
pd_add_find_sequence()
df = pd.read_csv("https://raw.githubusercontent.com/pandas-dev/pandas/main/doc/data/titanic.csv")
df.Name.s_find_sequence('Mr', exception_val=pd.NA, distance=1)
0     [8]
1     [9]
2      []
3    [10]
4     [7]
5     [7]
6    [10]
7      []
8     [9]
9     [8]
```

