{ "info": { "author": "group_c", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# IE Pandas\n---\n\nThis is Team C's final project in Advanced Python.\n\nA simple implementation of dataframe functionality\n\nThe library is available in [Pypi](https://pypi.org/project/ie_pandas/)\n\n### Installing\n---\n\n\nThe easiest way to install ie_pandas is through ```pip```\n\n```python\npip install ie_pandas\n```\n\nTo use it in your project, you must first import the library\n\n```python\nfrom ie_pandas import Dataframe\n```\n\nYou can create a frame by the following 4 methods:\n* A list of lists\n* A numpy array of lists\n* A dictionary of lists with keys being column names and values being the values for that column\n* A dictionary of numpy arrays (same as with lists)\n\n```python\ndictionary = {'c0': [1, 3, 5], 'c1': [7, 6, 2], 'c2': [2, 4, 7], 'c3': [5, 3, 9]}\ndf = DataFrame(dictionary)\n```\n#### Functionality\n* Create dataframes from list of lists, numpy arrays, dictionaries of lists and numpy arrays\n```python\ndictionary = {'c0': [1, 3, 5], 'c1': [7, 6, 2], 'c2': [2, 4, 7], 'c3': [5, 3, 9]}\ndf = DataFrame(dictionary)\n\n# You may optionally pass along two parameters, cols and index\n# cols determines the column names (if blank they will be numerical strings)\n# index determines the row names (if blank they will be numbers)\ndf = DataFrame(dictionary, cols = [\"col0\", \"col1\", \"col2\", \"col3\"], index = [\"row1\", \"row2\", \"row3\"])\n```\n* Access columns by name\n```python\ndf['column_1']\n```\n* Access rows by position or by row name\n```python\ndf.get_index(1)\n# or\ndf.get_index('row_1')\n```\n* Access data like a numpy array by name\n```python\ndf[0:2, 1:3]\n```\n* Modify dataframe\n```python\ndf[0,0] = 3\n```\n* Sum, median, mean, min, max methods (only work for numerical columns)\n```python\ndf.mean()\n```\n\nSince the underlying object of the dataframe is a numpy array, you may perform aditional functionality like\n```python\ndf[:, 1:2].sum()\n```\n* Visualize relationships between 2 entirely numerical columns (only for numerical columns)\n```python\ndf.visualize(df[:, 2], df[:, 3])\n# or\ndf.visualize(df[\"c1\"], df[\"c2\"])\n```\n\n#### Dependencies\n\nIE_Pandas only requires the following packages:\n* Numpy (>=1.16)\n* Matplotlib (>=3.0.2)\n\nHowever, for development purposes, the following packages are needed:\n* Pytest (>= 4.2)\n* Pytest-cov (>= 2.6)\n* Black (for PEP8 compliance)\n\n### Development\n---\nFor development purposes, you may download the files directly and install the library locally by placing your terminal in the downloaded folder and doing\n\n```python\npip install --editable .[dev]\n```\n\nThen, to execute the tests you just need to run\n\n```python\npytest --cov\n```\n\n### IE_Pandas Coding Style\n---\nIE_Pandas complies to PEP8 and uses ```black``` for coding standards\n\n### Versioning\n---\n[SemVer](http://semver.org/) is used for versioning. \n\n### License\n---\nThis project is licensed under the MIT License - see the [License](license.txt) file for details\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ie-pandas", "package_url": "https://pypi.org/project/ie-pandas/", "platform": "", "project_url": "https://pypi.org/project/ie-pandas/", "project_urls": null, "release_url": "https://pypi.org/project/ie-pandas/0.0.2/", "requires_dist": [ "numpy (>=1.16)", "matplotlib (>=3.0.2)", "black ; extra == 'dev'", "pytest (>=4.2) ; extra == 'dev'", "pytest-cov (>=2.6) ; extra == 'dev'" ], "requires_python": "", "summary": "A simple implementation of dataframe functionality", "version": "0.0.2" }, "last_serial": 5231870, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "6dd732097b876cf4a1f9b68147886705", "sha256": "17f9d0c55b779025affedbfb966ed787cd13e9d552a3cc78b50e9b76f5005d15" }, "downloads": -1, "filename": "ie_pandas-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6dd732097b876cf4a1f9b68147886705", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5110, "upload_time": "2019-05-06T09:54:13", "url": "https://files.pythonhosted.org/packages/60/95/9097c2a65bc2d412a072d93a158bba37b90209c7e452b1b0abbb18f1cc57/ie_pandas-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "180fe9989101076aacfb8768d5b5598b", "sha256": "953814be6c19c2160a14e62a8c12262400aba8a6af9fb9acfc902158cfd5fa16" }, "downloads": -1, "filename": "ie_pandas-0.0.1.tar.gz", "has_sig": false, "md5_digest": "180fe9989101076aacfb8768d5b5598b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4106, "upload_time": "2019-05-01T19:03:15", "url": "https://files.pythonhosted.org/packages/2f/c6/9e2dfe53eefb0fa0a34cb9facffda2f9fa608d628c9c9630bbce9c2b7018/ie_pandas-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "ae14b88cc399e37b68cd7b1ca18b9edb", "sha256": "04fd47112642ee97797b8865b5e3072c750a53c5b031a5cf0cc6f3f30cc25646" }, "downloads": -1, "filename": "ie_pandas-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ae14b88cc399e37b68cd7b1ca18b9edb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5111, "upload_time": "2019-05-06T09:54:59", "url": "https://files.pythonhosted.org/packages/ae/17/a82afaf286ae7428a26f90e9f8e2debdca2e5fd1920014474eed78d6a0d4/ie_pandas-0.0.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ae14b88cc399e37b68cd7b1ca18b9edb", "sha256": "04fd47112642ee97797b8865b5e3072c750a53c5b031a5cf0cc6f3f30cc25646" }, "downloads": -1, "filename": "ie_pandas-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ae14b88cc399e37b68cd7b1ca18b9edb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5111, "upload_time": "2019-05-06T09:54:59", "url": "https://files.pythonhosted.org/packages/ae/17/a82afaf286ae7428a26f90e9f8e2debdca2e5fd1920014474eed78d6a0d4/ie_pandas-0.0.2-py3-none-any.whl" } ] }