atlassianhw


Nameatlassianhw JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://github.com/jazon33y/atlassianhw
SummaryAtlassian application homework
upload_time2023-05-29 10:03:33
maintainer
docs_urlNone
authorjason
requires_python>=3.7
licenseApache Software License 2.0
keywords nbdev jupyter notebook python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # atlassianhw

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

A collection of simple functions to help with the homework.

## Install

``` sh
pip install atlassianhw
```

## How to use

Simple way to load in the data using `AData()`:

``` python
for name, data in AData().raw_data.items():
    print(f'Data source: {name}')
    display(data.head())
```

    /Users/jasonorawe/Documents/py_wd/git/atlassianhw/atlassianhw/utils.py:22: FutureWarning: Inferring datetime64[ns] from data containing strings is deprecated and will be removed in a future version. To retain the old behavior explicitly pass Series(data, dtype=datetime64[ns])
      'employee_details': pd.read_excel(pkgutil.get_data(__name__, '_data/Employee_details.xlsx')),

    Data source: employee_details
    Data source: glossary
    Data source: manager_details
    Data source: manager_mapping
    Data source: promo_meta_data

<div>
<style scoped>
    .dataframe tbody tr th:only-of-type {
        vertical-align: middle;
    }
&#10;    .dataframe tbody tr th {
        vertical-align: top;
    }
&#10;    .dataframe thead th {
        text-align: right;
    }
</style>

|     | emp_id | Attrited | kudos_received_so_far | kudos_count_given_so_far | job_family           | tenure_in_days_new | level     | mnths_in_team | last_promotion_date |
|-----|--------|----------|-----------------------|--------------------------|----------------------|--------------------|-----------|---------------|---------------------|
| 0   | 1      | 0        | 5.157031              | 2                        | Software Engineering | 1065               | Junior IC | 35.0          | 2022-10-01          |
| 1   | 2      | 0        | 5.466410              | 9                        | Software Engineering | 1066               | Junior IC | 35.0          | 2022-04-01          |
| 2   | 3      | 0        | 4.744126              | 18                       | Program Management   | 1079               | Manager   | 19.0          | 2021-07-16          |
| 3   | 4      | 1        | 0.261903              | 0                        | Software Engineering | 154                | Director  | 6.0           | 2020-03-30          |
| 4   | 5      | 0        | 5.918518              | 8                        | Product Manager      | 1079               | Manager   | 35.0          | 2022-10-01          |

</div>
<div>
<style scoped>
    .dataframe tbody tr th:only-of-type {
        vertical-align: middle;
    }
&#10;    .dataframe tbody tr th {
        vertical-align: top;
    }
&#10;    .dataframe thead th {
        text-align: right;
    }
</style>

|     | Dataset                | Dataset info              | Column Name          | Description                  |
|-----|------------------------|---------------------------|----------------------|------------------------------|
| 0   | promo_meta_data        | historical promo metadata | level                | level of employee            |
| 1   | promo_meta_data        | historical promo metadata | months_for_promotion | months for promotion in past |
| 2   | Manager_mapping        | Manager mapping dataset   | mgr_id               | manager ID                   |
| 3   | Manager_mapping        | Manager mapping dataset   | emp_id               | employee id                  |
| 4   | Attrition_Manager_info | Manager meta data         | mgr_cum_churn_new    | total churns under manager   |

</div>
<div>
<style scoped>
    .dataframe tbody tr th:only-of-type {
        vertical-align: middle;
    }
&#10;    .dataframe tbody tr th {
        vertical-align: top;
    }
&#10;    .dataframe thead th {
        text-align: right;
    }
</style>

|     | mgr_id | mgr_cum_churn_new | Tenure_Mgr         | total_teams_mgr | exp_as_mgr |
|-----|--------|-------------------|--------------------|-----------------|------------|
| 0   | 7582.0 | 0.000000          | 6-12 mons          | 1.0             | 90.0       |
| 1   | 6132.0 | 6.136273          | 3-6 mons           | 2.0             | 1489.0     |
| 2   | 7306.0 | 0.000000          | More Than 10 years | 2.0             | 1124.0     |
| 3   | 3712.0 | 2.899962          | 1-2 years          | 8.0             | 579.0      |
| 4   | NaN    | 0.000000          | 0                  | 1.0             | 1489.0     |

</div>
<div>
<style scoped>
    .dataframe tbody tr th:only-of-type {
        vertical-align: middle;
    }
&#10;    .dataframe tbody tr th {
        vertical-align: top;
    }
&#10;    .dataframe thead th {
        text-align: right;
    }
</style>

|     | mgr_id | emp_id |
|-----|--------|--------|
| 0   | 7582.0 | 1      |
| 1   | 6132.0 | 2      |
| 2   | 7306.0 | 3      |
| 3   | 3712.0 | 4      |
| 4   | NaN    | 5      |

</div>
<div>
<style scoped>
    .dataframe tbody tr th:only-of-type {
        vertical-align: middle;
    }
&#10;    .dataframe tbody tr th {
        vertical-align: top;
    }
&#10;    .dataframe thead th {
        text-align: right;
    }
</style>

|     | level     | months_for_promotion |
|-----|-----------|----------------------|
| 0   | Junior IC | 37.0                 |
| 1   | Junior IC | 40.0                 |
| 2   | Manager   | 30.0                 |
| 3   | Director  | 37.0                 |
| 4   | Manager   | 34.0                 |

</div>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jazon33y/atlassianhw",
    "name": "atlassianhw",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "nbdev jupyter notebook python",
    "author": "jason",
    "author_email": "jazon33y@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ac/c9/62597932850cd98ded62dc84ed54c9c0469a674f650c96fc8b229b9ef2a7/atlassianhw-0.0.3.tar.gz",
    "platform": null,
    "description": "# atlassianhw\n\n<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->\n\nA collection of simple functions to help with the homework.\n\n## Install\n\n``` sh\npip install atlassianhw\n```\n\n## How to use\n\nSimple way to load in the data using `AData()`:\n\n``` python\nfor name, data in AData().raw_data.items():\n    print(f'Data source: {name}')\n    display(data.head())\n```\n\n    /Users/jasonorawe/Documents/py_wd/git/atlassianhw/atlassianhw/utils.py:22: FutureWarning: Inferring datetime64[ns] from data containing strings is deprecated and will be removed in a future version. To retain the old behavior explicitly pass Series(data, dtype=datetime64[ns])\n      'employee_details': pd.read_excel(pkgutil.get_data(__name__, '_data/Employee_details.xlsx')),\n\n    Data source: employee_details\n    Data source: glossary\n    Data source: manager_details\n    Data source: manager_mapping\n    Data source: promo_meta_data\n\n<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n&#10;    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n&#10;    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n\n|     | emp_id | Attrited | kudos_received_so_far | kudos_count_given_so_far | job_family           | tenure_in_days_new | level     | mnths_in_team | last_promotion_date |\n|-----|--------|----------|-----------------------|--------------------------|----------------------|--------------------|-----------|---------------|---------------------|\n| 0   | 1      | 0        | 5.157031              | 2                        | Software Engineering | 1065               | Junior IC | 35.0          | 2022-10-01          |\n| 1   | 2      | 0        | 5.466410              | 9                        | Software Engineering | 1066               | Junior IC | 35.0          | 2022-04-01          |\n| 2   | 3      | 0        | 4.744126              | 18                       | Program Management   | 1079               | Manager   | 19.0          | 2021-07-16          |\n| 3   | 4      | 1        | 0.261903              | 0                        | Software Engineering | 154                | Director  | 6.0           | 2020-03-30          |\n| 4   | 5      | 0        | 5.918518              | 8                        | Product Manager      | 1079               | Manager   | 35.0          | 2022-10-01          |\n\n</div>\n<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n&#10;    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n&#10;    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n\n|     | Dataset                | Dataset info              | Column Name          | Description                  |\n|-----|------------------------|---------------------------|----------------------|------------------------------|\n| 0   | promo_meta_data        | historical promo metadata | level                | level of employee            |\n| 1   | promo_meta_data        | historical promo metadata | months_for_promotion | months for promotion in past |\n| 2   | Manager_mapping        | Manager mapping dataset   | mgr_id               | manager ID                   |\n| 3   | Manager_mapping        | Manager mapping dataset   | emp_id               | employee id                  |\n| 4   | Attrition_Manager_info | Manager meta data         | mgr_cum_churn_new    | total churns under manager   |\n\n</div>\n<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n&#10;    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n&#10;    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n\n|     | mgr_id | mgr_cum_churn_new | Tenure_Mgr         | total_teams_mgr | exp_as_mgr |\n|-----|--------|-------------------|--------------------|-----------------|------------|\n| 0   | 7582.0 | 0.000000          | 6-12 mons          | 1.0             | 90.0       |\n| 1   | 6132.0 | 6.136273          | 3-6 mons           | 2.0             | 1489.0     |\n| 2   | 7306.0 | 0.000000          | More Than 10 years | 2.0             | 1124.0     |\n| 3   | 3712.0 | 2.899962          | 1-2 years          | 8.0             | 579.0      |\n| 4   | NaN    | 0.000000          | 0                  | 1.0             | 1489.0     |\n\n</div>\n<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n&#10;    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n&#10;    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n\n|     | mgr_id | emp_id |\n|-----|--------|--------|\n| 0   | 7582.0 | 1      |\n| 1   | 6132.0 | 2      |\n| 2   | 7306.0 | 3      |\n| 3   | 3712.0 | 4      |\n| 4   | NaN    | 5      |\n\n</div>\n<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n&#10;    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n&#10;    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n\n|     | level     | months_for_promotion |\n|-----|-----------|----------------------|\n| 0   | Junior IC | 37.0                 |\n| 1   | Junior IC | 40.0                 |\n| 2   | Manager   | 30.0                 |\n| 3   | Director  | 37.0                 |\n| 4   | Manager   | 34.0                 |\n\n</div>\n",
    "bugtrack_url": null,
    "license": "Apache Software License 2.0",
    "summary": "Atlassian application homework",
    "version": "0.0.3",
    "project_urls": {
        "Homepage": "https://github.com/jazon33y/atlassianhw"
    },
    "split_keywords": [
        "nbdev",
        "jupyter",
        "notebook",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ebe8c86b551aae83d668cc211f16c8676bb371e761f67d20907dd4d86442293b",
                "md5": "16b56ba75fa7929e960e67460bbcc5e1",
                "sha256": "669ed61e433323fecf7e51aaa8b308278f57574d8a4845926138a5f3f108abd3"
            },
            "downloads": -1,
            "filename": "atlassianhw-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "16b56ba75fa7929e960e67460bbcc5e1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 1182421,
            "upload_time": "2023-05-29T10:03:30",
            "upload_time_iso_8601": "2023-05-29T10:03:30.981799Z",
            "url": "https://files.pythonhosted.org/packages/eb/e8/c86b551aae83d668cc211f16c8676bb371e761f67d20907dd4d86442293b/atlassianhw-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "acc962597932850cd98ded62dc84ed54c9c0469a674f650c96fc8b229b9ef2a7",
                "md5": "94e56eda75f8c2ce27258aaf1aa91aba",
                "sha256": "a8ba3fcb24b13c48ca70191b210b273d2fb0e2a8e2553732acd2eb6296e4ae8f"
            },
            "downloads": -1,
            "filename": "atlassianhw-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "94e56eda75f8c2ce27258aaf1aa91aba",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 1183325,
            "upload_time": "2023-05-29T10:03:33",
            "upload_time_iso_8601": "2023-05-29T10:03:33.779910Z",
            "url": "https://files.pythonhosted.org/packages/ac/c9/62597932850cd98ded62dc84ed54c9c0469a674f650c96fc8b229b9ef2a7/atlassianhw-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-29 10:03:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jazon33y",
    "github_project": "atlassianhw",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "atlassianhw"
}
        
Elapsed time: 0.07934s