{ "info": { "author": "guysmoilov", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# dovpanda\n[![Build Status](https://travis-ci.org/guysmoilov/dovpanda.svg?branch=master)](https://travis-ci.org/guysmoilov/dovpanda)\n\n## Directions OVer PANDAs\n\nDirections are hints and tips for using pandas in an analysis environment.\ndovpanda is an overlay for working with pandas in an analysis environment. \nIf you think your task is common enough, it probably is, and Pandas probably has a built-in solution.\ndovpanda is an overlay module that tries to understand what you are trying to do with your data, and help you\nfind easier ways to write your code.\n\n## Usage\n### Hints\nThe basic usage of `dovpanda` is its hints mechanism, which is very easy and out-of-the-box. Just import it after you import pandas\n```python\nimport pandas as pd\nimport dovpanda\n``` \nThis is it. From now on you can expect `dovpanda` to come with helpful hints while you are writing you code.\n\n### Example\n```python\nIn [3]: df = pd.DataFrame({'a':list('xxyy'),'b':[40,50,60,70], 'time':['18:02','18:45','20:12','21:50']})\n ...: df['time'] = pd.to_datetime(df.time)\n ...: df['hour'] = df.time.dt.hour\n\nIn [4]: df.groupby('hour').b.sum()\n===== Seems like you are grouping by a column named 'hour', consider setting the your\ntime column as index and then use df.resample('h') =====\nOut[4]:\nhour\n18 90\n20 60\n21 70\nName: b, dtype: int64\n```\n\n### Notebook Support\nRunning `dovpanda` in a notebook environment will display rendered dismissable html.\n\"notebook\n\n## Advanced Usage\n### Random Tips\n`dovpanda.tip()` will give you a random `pandas` tip.\n\n### Change Display\nuse `dovpanda.set_output` if you want to change output.\n\n```python\nIn [14]: dovpanda.set_output('display')\n\nIn [15]: df.iterrows()\n===== iterrows is not recommended, and in the majority of cases will have better alternatives =====\nOut[15]: \n\nIn [16]: dovpanda.set_output('print')\n\nIn [17]: df.iterrows()\niterrows is not recommended, and in the majority of cases will have better alternatives\nOut[17]: \n\nIn [18]: dovpanda.set_output('warning')\n\nIn [19]: df.iterrows()\nWARNING:dovpanda:iterrows is not recommended, and in the majority of cases will have better alternatives\nOut[19]: \n\nIn [20]: dovpanda.set_output('off')\n\nIn [21]: df.iterrows()\nOut[21]: ```\n\n\n\n", "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/guysmoilov/dovpanda", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "dovpanda-by-guy", "package_url": "https://pypi.org/project/dovpanda-by-guy/", "platform": "", "project_url": "https://pypi.org/project/dovpanda-by-guy/", "project_urls": { "Homepage": "https://github.com/guysmoilov/dovpanda" }, "release_url": "https://pypi.org/project/dovpanda-by-guy/0.0.4/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Directions overlay for working with pandas in an analysis environment", "version": "0.0.4", "yanked": false, "yanked_reason": null }, "last_serial": 6037271, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a8774e5d27d0bced26acb9060020fedc", "sha256": "7fa1ad0a63072b32d5d794c0d7195b1eb836cdbbc1805bf82d763066ff591d45" }, "downloads": -1, "filename": "dovpanda_by_guy-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a8774e5d27d0bced26acb9060020fedc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 7013, "upload_time": "2019-10-27T14:37:33", "upload_time_iso_8601": "2019-10-27T14:37:33.635070Z", "url": "https://files.pythonhosted.org/packages/70/64/57bbed3be27228b1cbc1ce09772b34280d97ea3c2af7a3b1ac1ea6341a24/dovpanda_by_guy-0.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "3416343659ec659c90d564935805b721", "sha256": "ea8899bfe21c90d083c96e7d61409f16ba0de783567e396dc1e8948f1fb11e62" }, "downloads": -1, "filename": "dovpanda-by-guy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3416343659ec659c90d564935805b721", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5386, "upload_time": "2019-10-27T14:37:35", "upload_time_iso_8601": "2019-10-27T14:37:35.672945Z", "url": "https://files.pythonhosted.org/packages/15/8d/f07e3f1d2b271a6820c1fe9ef30608272ed0991002065df1a6c848da356c/dovpanda-by-guy-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "73babdfcae70ff01f768bd72a99e57d4", "sha256": "2466bbb132a95c184a7bfe28fdd25c68c306415ae95a6ad88dd9bf20fb2e6fb3" }, "downloads": -1, "filename": "dovpanda_by_guy-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "73babdfcae70ff01f768bd72a99e57d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 7014, "upload_time": "2019-10-27T14:50:35", "upload_time_iso_8601": "2019-10-27T14:50:35.525202Z", "url": "https://files.pythonhosted.org/packages/ca/88/005a744dd55057223a66101eaa5cd84fe257d4be6f4eb7b68bed354c2b34/dovpanda_by_guy-0.0.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "24036347bbc8aa1d1fbbc5312f60216f", "sha256": "7e620908aeda5dc730ae8168ac74ea7b858aa6f43a92ee90bb4ad36021c90b20" }, "downloads": -1, "filename": "dovpanda-by-guy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "24036347bbc8aa1d1fbbc5312f60216f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5385, "upload_time": "2019-10-27T14:50:36", "upload_time_iso_8601": "2019-10-27T14:50:36.558243Z", "url": "https://files.pythonhosted.org/packages/80/6f/f89d0de81a9aeb7ff034935c0914fe1869cb75fd0f03ca9b499b46dcdc96/dovpanda-by-guy-0.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "57b207188138a6571325d3e6205cf728", "sha256": "970837be697b43e4a9602580f32030d1e84fbb7db9d436f11b79424a450b3d6c" }, "downloads": -1, "filename": "dovpanda_by_guy-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "57b207188138a6571325d3e6205cf728", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3544, "upload_time": "2019-10-27T14:56:16", "upload_time_iso_8601": "2019-10-27T14:56:16.394979Z", "url": "https://files.pythonhosted.org/packages/11/4f/53a4c38e4961903fa597ce5a491302e08cb5772bce63b30d4d7bef88e342/dovpanda_by_guy-0.0.4-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "ab46c7721e2aa3a2771b32e8f24b7c68", "sha256": "829f21994faabb4526facf3836a7d07555d492c2b4836f84da2737361b6dc178" }, "downloads": -1, "filename": "dovpanda-by-guy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ab46c7721e2aa3a2771b32e8f24b7c68", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2442, "upload_time": "2019-10-27T14:56:17", "upload_time_iso_8601": "2019-10-27T14:56:17.689867Z", "url": "https://files.pythonhosted.org/packages/56/1b/ab370e4057fce19025eaad71ef18271d32eac675c622a4ec7d35df5354ba/dovpanda-by-guy-0.0.4.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "57b207188138a6571325d3e6205cf728", "sha256": "970837be697b43e4a9602580f32030d1e84fbb7db9d436f11b79424a450b3d6c" }, "downloads": -1, "filename": "dovpanda_by_guy-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "57b207188138a6571325d3e6205cf728", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3544, "upload_time": "2019-10-27T14:56:16", "upload_time_iso_8601": "2019-10-27T14:56:16.394979Z", "url": "https://files.pythonhosted.org/packages/11/4f/53a4c38e4961903fa597ce5a491302e08cb5772bce63b30d4d7bef88e342/dovpanda_by_guy-0.0.4-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "ab46c7721e2aa3a2771b32e8f24b7c68", "sha256": "829f21994faabb4526facf3836a7d07555d492c2b4836f84da2737361b6dc178" }, "downloads": -1, "filename": "dovpanda-by-guy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ab46c7721e2aa3a2771b32e8f24b7c68", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2442, "upload_time": "2019-10-27T14:56:17", "upload_time_iso_8601": "2019-10-27T14:56:17.689867Z", "url": "https://files.pythonhosted.org/packages/56/1b/ab370e4057fce19025eaad71ef18271d32eac675c622a4ec7d35df5354ba/dovpanda-by-guy-0.0.4.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }