{ "info": { "author": "Jeffrey McLarty", "author_email": "jeffrey.mclarty@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Financial and Insurance Industry", "Intended Audience :: Healthcare Industry", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Mathematics" ], "description": "Sympa\n=====\n\n*Symbolic math for pandas.*\n\nDescription\n===========\n\nLinks symbolic expressions created using sympy to columns of data in pandas DataFrames.\nAny expression created with sympy, which can be \"lambdified\", will/should/might work. \n\nWarning\n=======\n\nThe API design for sympa is subject to change, depending on feedback, if any.\n\nUsage\n=====\n\n.. code:: python\n\n from pandas import DataFrame\n from sympy import symbols\n from sympa import domath\n \n df = pd.DataFrame({'x' : [1,2,3,4] * 2, 'y' : [0.1, 0.2] * 4)\n \n # Notice x_-1 and x_-2 are used to reference x @ t=-1, and x @ t=-2.\n x, xn1, xn2, y = symbols('x x_-1 x_-2 y')\n \n f = 3.0 * x ** 3 + 2.0 * xn1 ** 2 + xn2 + (y * 2) / 2\n \n df['f'] = domath(df,f)\n\nDocs\n====\n\nFor now, there isn't much documentation. I think it's pretty straightforward.\nCheck out the /doc folder of the repo on github for more examples.\n\nRequirements\n============\n\n* Sympy >= 0.7.6 but should work with much older versions (untested).\n* Pandas >= 0.15 but should work with much older versions (untested).\n\nPython\n------\nWorks on 2.7, untested on all other versions.\nIt is expected to be ported to 3.4 soon, and likely 2.6 as well.\n\nInstall\n=======\n\n pip install sympa", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/jnmclarty/sympa/tarball/0.1.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jnmclarty/sympa", "keywords": "symbolic,symbol,sympa,sympy,pandas,math", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "sympa", "package_url": "https://pypi.org/project/sympa/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sympa/", "project_urls": { "Download": "https://github.com/jnmclarty/sympa/tarball/0.1.0", "Homepage": "https://github.com/jnmclarty/sympa" }, "release_url": "https://pypi.org/project/sympa/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Symbolic math for pandas", "version": "0.1.0" }, "last_serial": 1448700, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7b9528d7faab9ef6143da225a5773dff", "sha256": "f6f152f32eeff59b978205fe99511504e9653c0a76594e3377333c8cd5cfb85c" }, "downloads": -1, "filename": "sympa-0.1.0.zip", "has_sig": false, "md5_digest": "7b9528d7faab9ef6143da225a5773dff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5391, "upload_time": "2015-03-05T03:10:18", "url": "https://files.pythonhosted.org/packages/b7/69/ef5747f41ad883d8ee9f64573d25a2f6f829552d797132e8b4523c3cfd2a/sympa-0.1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7b9528d7faab9ef6143da225a5773dff", "sha256": "f6f152f32eeff59b978205fe99511504e9653c0a76594e3377333c8cd5cfb85c" }, "downloads": -1, "filename": "sympa-0.1.0.zip", "has_sig": false, "md5_digest": "7b9528d7faab9ef6143da225a5773dff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5391, "upload_time": "2015-03-05T03:10:18", "url": "https://files.pythonhosted.org/packages/b7/69/ef5747f41ad883d8ee9f64573d25a2f6f829552d797132e8b4523c3cfd2a/sympa-0.1.0.zip" } ] }