Watson-Explorer


NameWatson-Explorer JSON
Version 1.0.3 PyPI version JSON
download
home_page
SummaryLook into the data of your DataFrames with Watson Explorer
upload_time2024-01-06 21:00:59
maintainer
docs_urlNone
author
requires_python>=3.8
license
keywords pandas polars explorer watson
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Watson Explorer

Explore the data in your Pandas DataFrames using Watson Explorer.

## Installation

Use the package manager [pip](https://pip.Heintjeb.io/en/stable/) to install Watson-Explorer.

```bash
pip install Watson-Explorer
```

<p align="right">(<a href="#readme-top">back to top</a>)</p>

## Usage

```python
from Watson-Explorer import Explorer

"""Place the following statement at the end of your Python file."""
Explorer()

"""
After running the script, it will extract all the dataframes from the file, delete all old HTML files, create new HTML files, and open a local host to display the DataFrames. 
You can access the DataFrames using the dropdown menu. To stop the local host, click on the 'Stop Server' button, and the tab sheet will automatically close.
"""

"""REMARK:
It is not possible to view data from dataframes that are not linked to variables.
For example:
"""

example_dict = {'A' : [1,2,3,4], 'B' : [5,6,7,8]}

class Example():
    def __init__(self, dictionary=None):
        self.dataframe = pd.DataFrame(example_dict)
    
    def return_df_1(self):
        return self.dataframe
    
    def return_df_2(self):
        self.dataframe2 = self.dataframe.assign(D='Test')
        return self.dataframe2

example = Example(example_dict)
example.return_df_1() # The explorer will not include this dataframe.
example_df = example.return_df_2() # The explorer will include this dataframe.

"""REMARK 2:
This library is not designed to load more than 20,000 rows (yet). We suggest using .head() to reduce the size of your dataframe before using this library.
"""
```
<p align="right">(<a href="#readme-top">back to top</a>)</p>

## Contributing

### General
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. <br>
Please make sure to update tests as appropriate.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

### CSS
Feel free to adjust the CSS file if you don't like the styling.<br>
Also, if you are a very gifted front-end developer, please let me know. I'm open to upgrading the interface.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

## License
Distributed under the MIT License. See `LICENSE.txt` for more information.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

## Contact
Contact: heinburgmans.com <br>
Project Link: https://github.com/HeintjeB/watson

<p align="right">(<a href="#readme-top">back to top</a>)</p>

## Acknowledgments
The creation of this explorer was inspired by Spyder's Variable Explorer.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "Watson-Explorer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "pandas,polars,explorer,watson",
    "author": "",
    "author_email": "HeintjeB <heinburgmans@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/72/f5/33daab09d50d92df48162e090ca7dd87416e5bc6ba12d253289ca689d531/Watson-Explorer-1.0.3.tar.gz",
    "platform": null,
    "description": "# Watson Explorer\r\n\r\nExplore the data in your Pandas DataFrames using Watson Explorer.\r\n\r\n## Installation\r\n\r\nUse the package manager [pip](https://pip.Heintjeb.io/en/stable/) to install Watson-Explorer.\r\n\r\n```bash\r\npip install Watson-Explorer\r\n```\r\n\r\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\r\n\r\n## Usage\r\n\r\n```python\r\nfrom Watson-Explorer import Explorer\r\n\r\n\"\"\"Place the following statement at the end of your Python file.\"\"\"\r\nExplorer()\r\n\r\n\"\"\"\r\nAfter running the script, it will extract all the dataframes from the file, delete all old HTML files, create new HTML files, and open a local host to display the DataFrames. \r\nYou can access the DataFrames using the dropdown menu. To stop the local host, click on the 'Stop Server' button, and the tab sheet will automatically close.\r\n\"\"\"\r\n\r\n\"\"\"REMARK:\r\nIt is not possible to view data from dataframes that are not linked to variables.\r\nFor example:\r\n\"\"\"\r\n\r\nexample_dict = {'A' : [1,2,3,4], 'B' : [5,6,7,8]}\r\n\r\nclass Example():\r\n    def __init__(self, dictionary=None):\r\n        self.dataframe = pd.DataFrame(example_dict)\r\n    \r\n    def return_df_1(self):\r\n        return self.dataframe\r\n    \r\n    def return_df_2(self):\r\n        self.dataframe2 = self.dataframe.assign(D='Test')\r\n        return self.dataframe2\r\n\r\nexample = Example(example_dict)\r\nexample.return_df_1() # The explorer will not include this dataframe.\r\nexample_df = example.return_df_2() # The explorer will include this dataframe.\r\n\r\n\"\"\"REMARK 2:\r\nThis library is not designed to load more than 20,000 rows (yet). We suggest using .head() to reduce the size of your dataframe before using this library.\r\n\"\"\"\r\n```\r\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\r\n\r\n## Contributing\r\n\r\n### General\r\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. <br>\r\nPlease make sure to update tests as appropriate.\r\n\r\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\r\n\r\n### CSS\r\nFeel free to adjust the CSS file if you don't like the styling.<br>\r\nAlso, if you are a very gifted front-end developer, please let me know. I'm open to upgrading the interface.\r\n\r\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\r\n\r\n## License\r\nDistributed under the MIT License. See `LICENSE.txt` for more information.\r\n\r\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\r\n\r\n## Contact\r\nContact: heinburgmans.com <br>\r\nProject Link: https://github.com/HeintjeB/watson\r\n\r\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\r\n\r\n## Acknowledgments\r\nThe creation of this explorer was inspired by Spyder's Variable Explorer.\r\n\r\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Look into the data of your DataFrames with Watson Explorer",
    "version": "1.0.3",
    "project_urls": {
        "BugTracker": "https://github.com/HeintjeB/watson/issues",
        "Changelog": "https://github.com/HeintjeB/watson/blob/main/CHANGELOG.md",
        "Homepage": "https://cobra-ms.com",
        "Repository": "https://github.com/HeintjeB/watson"
    },
    "split_keywords": [
        "pandas",
        "polars",
        "explorer",
        "watson"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c21e593ed4a83ee757e909bcce01f38cb06698a7a1a3a22ce4bb5f90e5e28ef8",
                "md5": "36c170dea9c8e447c00a9ffebe2e7655",
                "sha256": "0eb017d557af00135d1b42a14663caace9da14d6e44c79ccf02d6475a2d1ba7b"
            },
            "downloads": -1,
            "filename": "Watson_Explorer-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "36c170dea9c8e447c00a9ffebe2e7655",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5461,
            "upload_time": "2024-01-06T21:00:57",
            "upload_time_iso_8601": "2024-01-06T21:00:57.981041Z",
            "url": "https://files.pythonhosted.org/packages/c2/1e/593ed4a83ee757e909bcce01f38cb06698a7a1a3a22ce4bb5f90e5e28ef8/Watson_Explorer-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "72f533daab09d50d92df48162e090ca7dd87416e5bc6ba12d253289ca689d531",
                "md5": "c733822dee532cd1fdcd6a4cdef89260",
                "sha256": "6b35dddefa0438eaaac2dd84b3ccf30e1e63ef917d1dca42f52d59d1d200f2bc"
            },
            "downloads": -1,
            "filename": "Watson-Explorer-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "c733822dee532cd1fdcd6a4cdef89260",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 5030,
            "upload_time": "2024-01-06T21:00:59",
            "upload_time_iso_8601": "2024-01-06T21:00:59.875420Z",
            "url": "https://files.pythonhosted.org/packages/72/f5/33daab09d50d92df48162e090ca7dd87416e5bc6ba12d253289ca689d531/Watson-Explorer-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-06 21:00:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "HeintjeB",
    "github_project": "watson",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "watson-explorer"
}
        
Elapsed time: 0.20310s