A package for DSCI 310 Group's Airbnb Analysis.
Project description
pynyairbnb
A package for DSCI 310 Group's Airbnb Analysis.
Installation
$ pip install pynyairbnb
Usage
pynyairbnb can be used to load data from insideairbnb.com's NYC Airbnb Open Data, perform all necessary preprocessing necessary, generate visualizations, build a knn-classification model and conduct a hyperparameter optimization on the model as follows:
from pynyairbnb.data_preprocessing import data_preprocessing
from pynyairbnb.plotting import plot_pynyairbnb
from pynyairbnb.pynyairbnb import nyairbnb_analysis
data_preprocessing("example-link-data.csv", "documents/data_files") # url to your data and path to save your data
plot_pynyairbnb("documents/data_files/train_df.csv", "documents/data_figures", "documents/data_tables") # path to data files and output paths to save figures and tables
nyairbnb_analysis("documents/data_files", "documents/data_tables") # path to data files and output path to save tables
All outputs get saved as .csv or .jpg files that you can read in using the pandas.read_csv() function or the matplotlib.pyplot.imread() function respectively.
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
pynyairbnb was created by by the members of Group 9 for DSCI 310. It is licensed under the terms of the MIT license.
Please refer to LICENSE.md for detailed licensing information.
Credits
pynyairbnb was created with cookiecutter and the py-pkgs-cookiecutter template.
This package also utilizes New York City Airbnb Open Data from insideairbnb.com for example demonstrations.
Contributors
Rashi Selarka
Riddhi Battu
Oliver Gullery
Prithvi Sureka
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pynyairbnb-0.1.0.tar.gz.
File metadata
- Download URL: pynyairbnb-0.1.0.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.8 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68b080ab950aa15c7d5d4609e3b4efab7ce5382186df006f74f4a79cdf479510
|
|
| MD5 |
15d226ac731de87e9f9e1cbef9cfaa52
|
|
| BLAKE2b-256 |
dcc3d4f94f7f690586a11307c706c3323500ff9044c6aeeaf428253b41acf2eb
|
File details
Details for the file pynyairbnb-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pynyairbnb-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.8 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44d15a020d1b1f5978c4ddc33e8892e88c4b75f59a3accdf12f4f24728fceaa2
|
|
| MD5 |
51e30117aaf4bb9acbff8fac6ee0b481
|
|
| BLAKE2b-256 |
fc21d729e6d19e155b0bbe0b430191f499fc822d7c0a4c52ef46088ad3a627ae
|