Skip to main content

A package for DSCI 310 Group's Airbnb Analysis.

Project description

pynyairbnb

A package for DSCI 310 Group's Airbnb Analysis.

codecov

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

pynyairbnb-0.4.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pynyairbnb-0.4.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file pynyairbnb-0.4.0.tar.gz.

File metadata

  • Download URL: pynyairbnb-0.4.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pynyairbnb-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fc09a7b276c69ded4d6c0f9d111236f8c6f95bc1ccbd81ab699135a770acd76a
MD5 db2c9b54066ac53ae7ec562a57748678
BLAKE2b-256 526314b5257cb72ee103c90b4a3e2169b5d457517c2b5a39f7db2b7848e6e2cf

See more details on using hashes here.

File details

Details for the file pynyairbnb-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: pynyairbnb-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pynyairbnb-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f83e44b5ecd4b0973f9495db8fda556a6d6956bfba8d33cb6276bd3717314c1c
MD5 67c05805b6536dad4d902639acd15bcf
BLAKE2b-256 7fb9a9a5edac276891245bd74bbb8abc2bd5b2aea2c42277be703f73db692ed8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page