a-pandas-ex-sequence-search


Namea-pandas-ex-sequence-search JSON
Version 0.10 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/a_pandas_ex_sequence_search
SummarySequence / string search with NumPy in pandas DataFrames
upload_time2023-11-18 03:56:14
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords sequence search string numpy
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# 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]
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/a_pandas_ex_sequence_search",
    "name": "a-pandas-ex-sequence-search",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "sequence,search,string,numpy",
    "author": "Johannes Fischer",
    "author_email": "aulasparticularesdealemaosp@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/36/76/a2e3499847094fbfd8522c1374296f85070264657617ffb686b67df35802/a_pandas_ex_sequence_search-0.10.tar.gz",
    "platform": null,
    "description": "\r\n# Sequence / string search with NumPy in pandas DataFrames\r\n\r\n## pip install a-pandas-ex-sequence-search\r\n\r\n### Tested against Windows 10 / Python 3.11 / Anaconda \r\n\r\n\r\n```python\r\nimport pandas as pd\r\nfrom a_pandas_ex_sequence_search import pd_add_find_sequence\r\npd_add_find_sequence()\r\ndf = pd.read_csv(\"https://raw.githubusercontent.com/pandas-dev/pandas/main/doc/data/titanic.csv\")\r\ndf.Name.s_find_sequence('Mr', exception_val=pd.NA, distance=1)\r\n0     [8]\r\n1     [9]\r\n2      []\r\n3    [10]\r\n4     [7]\r\n5     [7]\r\n6    [10]\r\n7      []\r\n8     [9]\r\n9     [8]\r\n```\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Sequence / string search with NumPy in pandas DataFrames",
    "version": "0.10",
    "project_urls": {
        "Homepage": "https://github.com/hansalemaos/a_pandas_ex_sequence_search"
    },
    "split_keywords": [
        "sequence",
        "search",
        "string",
        "numpy"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8167f5a66f4b1ea96f525876cffbd70de80dc755af09b4e4bb2a9044ed2ce8f2",
                "md5": "4e231fdd088ac1fb17e79ab4dd6b6054",
                "sha256": "fc21e9b5b48efed89326c0f6f96f6f76bd6844dc74fffb90df151e2bb1fc9847"
            },
            "downloads": -1,
            "filename": "a_pandas_ex_sequence_search-0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4e231fdd088ac1fb17e79ab4dd6b6054",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6035,
            "upload_time": "2023-11-18T03:56:12",
            "upload_time_iso_8601": "2023-11-18T03:56:12.808776Z",
            "url": "https://files.pythonhosted.org/packages/81/67/f5a66f4b1ea96f525876cffbd70de80dc755af09b4e4bb2a9044ed2ce8f2/a_pandas_ex_sequence_search-0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3676a2e3499847094fbfd8522c1374296f85070264657617ffb686b67df35802",
                "md5": "616cc4ebaf0ed374f0522de7dfe1f0da",
                "sha256": "caccbae0733ec4cfe64a715d6240b00435f5ccc75df35d2c946ffef6238f4780"
            },
            "downloads": -1,
            "filename": "a_pandas_ex_sequence_search-0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "616cc4ebaf0ed374f0522de7dfe1f0da",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4362,
            "upload_time": "2023-11-18T03:56:14",
            "upload_time_iso_8601": "2023-11-18T03:56:14.383465Z",
            "url": "https://files.pythonhosted.org/packages/36/76/a2e3499847094fbfd8522c1374296f85070264657617ffb686b67df35802/a_pandas_ex_sequence_search-0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-18 03:56:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hansalemaos",
    "github_project": "a_pandas_ex_sequence_search",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "a-pandas-ex-sequence-search"
}
        
Elapsed time: 0.64066s