un-xtab


Nameun-xtab JSON
Version 1.2.2 PyPI version JSON
download
home_pagehttps://osdn.net/projects/un-xtab/
SummaryUn-crosstab data in a text file.
upload_time2024-12-02 00:23:19
maintainerNone
docs_urlhttps://pythonhosted.org/un-xtab/
authorDreas Nielsen
requires_pythonNone
licenseGPL
keywords csv crosstab
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ``un-xtab.py`` is a Python module and command-line program that rearranges data from a crosstabulated format to a normalized format. It takes data in this form:

+---------+------------+------------+------------+
| Station | 2006-05-23 | 2006-06-15 | 2006-07-19 |
+=========+============+============+============+
| WQ-01   | 4.5        | 3.7        | 6.8        |
+---------+------------+------------+------------+
| WQ-02   | 9.7        | 5.1        | 7.2        |
+---------+------------+------------+------------+
| WQ-03   | 10         | 6.1        | 8.8        |
+---------+------------+------------+------------+

and rearranges it into this form:

+---------+------------+-------+
| Station | Date       | Value |
+=========+============+=======+
| WQ-01   | 2006-05-23 | 4.5   |
+---------+------------+-------+
| WQ-02   | 2006-05-23 | 3.7   |
+---------+------------+-------+
| WQ-03   | 2006-05-23 | 6.8   |
+---------+------------+-------+
| WQ-01   | 2006-06-15 | 9.7   |
+---------+------------+-------+
| WQ-02   | 2006-05-15 | 5.1   |
+---------+------------+-------+
| WQ-03   | 2006-06-15 | 7.2   |
+---------+------------+-------+
| WQ-01   | 2006-07-19 | 10    |
+---------+------------+-------+
| WQ-02   | 2006-07-19 | 6.1   |
+---------+------------+-------+
| WQ-03   | 2006-07-19 | 8.8   |
+---------+------------+-------+

Input and output are both text (CSV) files.

You can use the un-xtab program to rearrange data that have been provided in a format designed for readability into a format that is more suitable for storage in a database, or for use with statistical, modeling, graphics, or other software.

The un-xtab program can deal with crosstabbed formats that include multiple rows of column headers and groups of data values that were crosstabbed together. 

A row number can be added to assist with post-processing of the output file, if necessary.

Complete documentation is at ReadTheDocs: https://un-xtab.readthedocs.io/.

            

Raw data

            {
    "_id": null,
    "home_page": "https://osdn.net/projects/un-xtab/",
    "name": "un-xtab",
    "maintainer": null,
    "docs_url": "https://pythonhosted.org/un-xtab/",
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "CSV, crosstab",
    "author": "Dreas Nielsen",
    "author_email": "cortice@tutanota.com",
    "download_url": "https://files.pythonhosted.org/packages/b2/75/9f39ab116d4212b81862abba5afd80eb029602a672b5416ea1a737a902e8/un-xtab-1.2.2.tar.gz",
    "platform": null,
    "description": "``un-xtab.py`` is a Python module and command-line program that rearranges data from a crosstabulated format to a normalized format. It takes data in this form:\n\n+---------+------------+------------+------------+\n| Station | 2006-05-23 | 2006-06-15 | 2006-07-19 |\n+=========+============+============+============+\n| WQ-01   | 4.5        | 3.7        | 6.8        |\n+---------+------------+------------+------------+\n| WQ-02   | 9.7        | 5.1        | 7.2        |\n+---------+------------+------------+------------+\n| WQ-03   | 10         | 6.1        | 8.8        |\n+---------+------------+------------+------------+\n\nand rearranges it into this form:\n\n+---------+------------+-------+\n| Station | Date       | Value |\n+=========+============+=======+\n| WQ-01   | 2006-05-23 | 4.5   |\n+---------+------------+-------+\n| WQ-02   | 2006-05-23 | 3.7   |\n+---------+------------+-------+\n| WQ-03   | 2006-05-23 | 6.8   |\n+---------+------------+-------+\n| WQ-01   | 2006-06-15 | 9.7   |\n+---------+------------+-------+\n| WQ-02   | 2006-05-15 | 5.1   |\n+---------+------------+-------+\n| WQ-03   | 2006-06-15 | 7.2   |\n+---------+------------+-------+\n| WQ-01   | 2006-07-19 | 10    |\n+---------+------------+-------+\n| WQ-02   | 2006-07-19 | 6.1   |\n+---------+------------+-------+\n| WQ-03   | 2006-07-19 | 8.8   |\n+---------+------------+-------+\n\nInput and output are both text (CSV) files.\n\nYou can use the un-xtab program to rearrange data that have been provided in a format designed for readability into a format that is more suitable for storage in a database, or for use with statistical, modeling, graphics, or other software.\n\nThe un-xtab program can deal with crosstabbed formats that include multiple rows of column headers and groups of data values that were crosstabbed together. \n\nA row number can be added to assist with post-processing of the output file, if necessary.\n\nComplete documentation is at ReadTheDocs: https://un-xtab.readthedocs.io/.\n",
    "bugtrack_url": null,
    "license": "GPL",
    "summary": "Un-crosstab data in a text file.",
    "version": "1.2.2",
    "project_urls": {
        "Homepage": "https://osdn.net/projects/un-xtab/"
    },
    "split_keywords": [
        "csv",
        " crosstab"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b2759f39ab116d4212b81862abba5afd80eb029602a672b5416ea1a737a902e8",
                "md5": "ec7fc892d512c5299d483dfc36d9119e",
                "sha256": "a0867ffad4cd26cf93efec91bffc6e1faf2d5dccf0ba329726dd2c313c100879"
            },
            "downloads": -1,
            "filename": "un-xtab-1.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "ec7fc892d512c5299d483dfc36d9119e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 14148,
            "upload_time": "2024-12-02T00:23:19",
            "upload_time_iso_8601": "2024-12-02T00:23:19.662093Z",
            "url": "https://files.pythonhosted.org/packages/b2/75/9f39ab116d4212b81862abba5afd80eb029602a672b5416ea1a737a902e8/un-xtab-1.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-02 00:23:19",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "un-xtab"
}
        
Elapsed time: 0.38060s