Metadata-Version: 2.4
Name: datadepot
Version: 0.0.79
Summary: The datadepot library provides a collection of datasets used in the book Data Science Foundations and Machine Learning with Python.
Author-email: Jeroen van Raak <j.j.f.vanraak@uva.nl>
License: Copyright (c) 2025 Jeroen van Raak
        
        MIT License
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://datasciencebook.ai/datadepot
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas>=2.2
Requires-Dist: numpy>=2.0
Provides-Extra: all
Requires-Dist: scikit-learn>=1.6; extra == "all"
Requires-Dist: geopandas>=1.1; extra == "all"
Requires-Dist: tensorflow>=2.18; extra == "all"
Requires-Dist: matplotlib>=3.10; extra == "all"
Requires-Dist: seaborn>=0.13; extra == "all"
Requires-Dist: openpyxl; extra == "all"
Requires-Dist: scipy>=1.16; extra == "all"
Requires-Dist: statsmodels>=0.14; extra == "all"
Requires-Dist: imbalanced-learn; extra == "all"
Requires-Dist: patsy>=1.0.2; extra == "all"
Dynamic: license-file

# `datadepot`

![](https://raw.githubusercontent.com/vanraak/datadepot/main/logo_small.png)

This library provides a collection of datasets used in the book *Data Science Foundations and Machine Learning with Python*.

## Installation

Install datadepot with pip:

```bash
pip install datadepot
```

or with conda:

```bash
conda install conda-forge::datadepot
```

## Usage

Import datadepot and load a dataset:

```python
import datadepot

df = datadepot.load("<dataset>")
```

Replace `<dataset>` with the name of the dataset you want to load. For example:

```python
df = datadepot.load("bank")
```

The returned object is a pandas DataFrame.

## Dataset Information

View metadata for any dataset:

```python
datadepot.info("<dataset>")
```

Example:

```python
datadepot.info("diamonds")
```

This displays the dataset metadata:

- Description
- Source
- URL
- Creators
- License
- License URL

## Available Datasets

The following datasets are included:

- adult
- bank
- bicycle_counts
- bike_sharing
- churn
- cpu
- credit
- creditcard
- diamonds
- drug
- house
- house_price
- loan
- mpg
- nyc_taxi
- online_shoppers
- red_wines

More information about each dataset is available at <https://datasciencebook.ai/datadepot>, including its description, source, creators, and license.

## License

datadepot is distributed under the MIT License. Individual datasets may be subject to different licenses; see each dataset's metadata for details.
