{ "info": { "author": "Ethan Robbins", "author_email": "ethan.d.robbins@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# easystyle\n\neasystyle is a python package created to allow simple and quick data analysis without having to export to excel. easystyle reads in the data as a dataframe as highlights certain cells depending on what the user calls. The package is heavily dependent on the styling in pandas and pulls some basic code from the Stying pandas documentation. Functions such as identifying, by highlighting the cell or text, the maximum, the minimum, outliers, and NaN values are used in easystyle. These functions allow the user to take a quick look at their data in Jupyter Notebook. It also serves the purpose of showing the data cleaner than with a standard dataframe so that you can present the information to others without having to go to excel.\n\neasystyle works great in Jupyter Notebook, but I am unsure of how well, or if it will work at all, in other environments\n\n\n## Installing easystyle\n\n pip install easystyle\n\n## Importing easystyle\n\nThe best way to import easystyle is:\n\n from easystyle import Style as es\n\nThis is since it makes it simpler to call functions when using the package. For the following examples we will assume this importing method.\n\n## Highlight Negative Values\n\n def highlight_negative(df, col = 'red'):\n\nIn order to use highlight_negative, the user must provide the dataframe. The user does not need to provide a color, but may do so if they want a color other than red. To run the function:\n\n df = es.highlight_negative(df, color)\n\n## Highlight Positive Values\n\n def highlight_positive(df, col = 'green'):\n\nThis function follows similarly to the function above. To run the function:\n\n df = es.highlight_positive(df, color)\n\n## Highlight Negative and Positive Values\n\n def highlight_neg_pos(df, colNeg = 'red', colPos = 'green'):\n\nFollows from above. To run the function:\n\n df = es.highlight_neg_pos(df, color_neg, color_pos)\n\n## Highlight Maximum Value\n\n def highlight_max(df, column_names, col='yellow'):\n\nThe function is fed an additional variable, the column names. `column_names` is an array of the column names that you wish to find the maximum in. For example:\n\n column_names = ['A', 'B', 'C']\n df = es.highlight_max(df, column_names, color)\n\n## Highlight Minimum Value\n\n def highlight_min(df, column_names, col='orange'):\n\nFollows similarly to highlighting a maximum value. For example:\n\n column_names = ['A', 'B', 'C']\n df = es.highlight_min(df, column_names, color)\n\n## Highlight Outliers\n\n def highlight_outlier(df, column_names, colLow='red', colUp='red'):\n\nThis function uses the IQR method in order to find outliers. Again, `column_names` is a array of column names. For example:\n\n df = es.highlight_outlier(df, column_names, colorLower, colorUpper)\n\n## Highlight NaN Values\n\n def highlight_NaN(df, color = 'red'):\n\nIf any NaN values are detected, they are highlighted. For example:\n\n df = es.highlight_NaN(df, color)\n\n## Give a Gradient\n\n def highlight_gradient(df, color = 'green'):\n\nThis function uses the gradients provided by the Seaborn package. For example:\n\n df = es.highlight_gradient(df, color)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ethandrobbins/easystyle", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "easystyle", "package_url": "https://pypi.org/project/easystyle/", "platform": "", "project_url": "https://pypi.org/project/easystyle/", "project_urls": { "Homepage": "https://github.com/ethandrobbins/easystyle" }, "release_url": "https://pypi.org/project/easystyle/1.2.1/", "requires_dist": null, "requires_python": "", "summary": "A package to allow for basic visuals with pandas dataframes", "version": "1.2.1" }, "last_serial": 5747464, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "84e5dcb891c24f69bbfcfdabbd25c1a0", "sha256": "33e2fcc05866ad114193eee16f53ba303f0665bb732aad7bc571bea465785695" }, "downloads": -1, "filename": "easystyle-0.1.tar.gz", "has_sig": false, "md5_digest": "84e5dcb891c24f69bbfcfdabbd25c1a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2070, "upload_time": "2019-08-28T19:58:42", "url": "https://files.pythonhosted.org/packages/01/00/f516f45364beed8caf15eaca920e8af4d2c779431897032868db33682725/easystyle-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "6a45e683c94b15715eedd54f014ad834", "sha256": "2bd2a432f36a4177ab574cc7133b52131cd957e2644e6ba3a7c7b07b92ce1c49" }, "downloads": -1, "filename": "easystyle-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6a45e683c94b15715eedd54f014ad834", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2077, "upload_time": "2019-08-28T20:20:53", "url": "https://files.pythonhosted.org/packages/4a/8c/83f73f658a6e696683e2c8778ab0a36974eba0520dd6fa79dd4b00c597fb/easystyle-0.1.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "2abb1cc92f811ce255e0f52659ad2d50", "sha256": "5c3bf6fb73388e79c80ee28d6c6699a72106e109d0baee4c8278311ba79a6960" }, "downloads": -1, "filename": "easystyle-0.2.tar.gz", "has_sig": false, "md5_digest": "2abb1cc92f811ce255e0f52659ad2d50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2075, "upload_time": "2019-08-28T20:31:28", "url": "https://files.pythonhosted.org/packages/3e/2c/64a82f9357862632df506ed8fd9dae6f9db0c4b0df8020238d9916adf2f5/easystyle-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "885f3786c241ffa7f7d0efef64e5c40d", "sha256": "9b3c8d659a5612801fcfadefac4b631eaefc4819ccc808db13008d2cda3fe3c8" }, "downloads": -1, "filename": "easystyle-0.3.tar.gz", "has_sig": false, "md5_digest": "885f3786c241ffa7f7d0efef64e5c40d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2082, "upload_time": "2019-08-28T21:08:39", "url": "https://files.pythonhosted.org/packages/6e/02/be2ad2bd63d7b5ec348f63d6c4fe9f4ddb7a9821fee3d1edf09176d17847/easystyle-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "9ecd615fd2c01218dc7b2c461b168607", "sha256": "7d9ae880ffc11f9211e6bb152b094072ebbfcc4194e14f1eb17e3af1e3ed7d3d" }, "downloads": -1, "filename": "easystyle-0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "9ecd615fd2c01218dc7b2c461b168607", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3366, "upload_time": "2019-08-29T00:29:50", "url": "https://files.pythonhosted.org/packages/ec/ab/3d33208fec82d663ea5eed117a4ef5688e22f16f58cb5b00e4351cc055f1/easystyle-0.4-py3-none-any.whl" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "0dcb1b5ce57d161331ab8179e3378a5f", "sha256": "ea584a34fe181e38d6aa8f717c3a0a21e1555aa88b1ca58111fd18ff4446bfe3" }, "downloads": -1, "filename": "easystyle-1.0.tar.gz", "has_sig": false, "md5_digest": "0dcb1b5ce57d161331ab8179e3378a5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3097, "upload_time": "2019-08-29T01:12:23", "url": "https://files.pythonhosted.org/packages/c8/7b/4be4b0eb6f4bba1cf2fc303979f4d205616e5b98d69c299ae39e6f81d00e/easystyle-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "a6663f5e65d2fb5c02296091c7170701", "sha256": "d4e9c67a280baff24ca40a1fc3a39247c2a70130d509cd38fbe44b4dc2439b6e" }, "downloads": -1, "filename": "easystyle-1.1.tar.gz", "has_sig": false, "md5_digest": "a6663f5e65d2fb5c02296091c7170701", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2992, "upload_time": "2019-08-29T01:25:06", "url": "https://files.pythonhosted.org/packages/1a/03/8313a20dcd0c7bd0356ec5b242206f876dd5ca342bd27b3476e7747f674f/easystyle-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "aa564e4f6f5a9e004df8e7e0d05a735f", "sha256": "c986c8d34f836c6913f405259ab085054eb8e15bc3ee2abc079ce9e77362163d" }, "downloads": -1, "filename": "easystyle-1.2.tar.gz", "has_sig": false, "md5_digest": "aa564e4f6f5a9e004df8e7e0d05a735f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3114, "upload_time": "2019-08-29T01:33:18", "url": "https://files.pythonhosted.org/packages/85/b6/17704425e9cc84c48c03775fdf221ea2d1f162b195a7c41805c45820cc88/easystyle-1.2.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "ef91c18d1ee7473b3996f9362ff9dd41", "sha256": "c7ccb5b985400b030482b520fc35c8d880188f1f483adc6e143d51b5dccbd6be" }, "downloads": -1, "filename": "easystyle-1.2.1.tar.gz", "has_sig": false, "md5_digest": "ef91c18d1ee7473b3996f9362ff9dd41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3120, "upload_time": "2019-08-29T01:38:53", "url": "https://files.pythonhosted.org/packages/88/70/a234ebda11d2ac0780312f42e9c87341b0f5f79c199c731b72177b7ececa/easystyle-1.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ef91c18d1ee7473b3996f9362ff9dd41", "sha256": "c7ccb5b985400b030482b520fc35c8d880188f1f483adc6e143d51b5dccbd6be" }, "downloads": -1, "filename": "easystyle-1.2.1.tar.gz", "has_sig": false, "md5_digest": "ef91c18d1ee7473b3996f9362ff9dd41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3120, "upload_time": "2019-08-29T01:38:53", "url": "https://files.pythonhosted.org/packages/88/70/a234ebda11d2ac0780312f42e9c87341b0f5f79c199c731b72177b7ececa/easystyle-1.2.1.tar.gz" } ] }