Skip to content

Commit

Permalink
readme and reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismat-Samadov committed Apr 24, 2024
1 parent 9d72e01 commit e100a9f
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 2 deletions.
74 changes: 72 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,72 @@
# Restaurants_Analyse
Analyse over google map data
## README.md

### Restaurants Analyse

This repository contains data analysis scripts and notebooks for analyzing restaurant data. The data includes information about various restaurants, such as their names, locations, review counts, ratings, and types.

### Contents

- `G_MAP_DATA/`: This directory contains the dataset used for analysis.
- `analyse.ipynb`: Jupyter Notebook containing data analysis and visualization scripts.
- `combined_data.xlsx`: Excel file containing the combined data from multiple sources.
- `requirements.txt`: Text file listing the required Python packages for running the analysis.

### Getting Started

To run the analysis scripts and notebooks in this repository, follow these steps:

1. Clone this repository to your local machine:

```
git clone https://github.com/Ismat-Samadov/Restaurants_Analyse.git
```

2. Install the required Python packages:

```
pip install -r requirements.txt
```

3. Open the `analyse.ipynb` notebook using Jupyter Notebook or JupyterLab.
4. Run the notebook cells to execute the analysis scripts and visualize the results.

### Data Description

The dataset contains the following columns:

- `name`: Name of the business.
- `latitude`: Latitude coordinate of the business's location.
- `longitude`: Longitude coordinate of the business's location.
- `review_count`: Number of reviews for the business.
- `rating`: Average rating of the restaurant.
- `types`: Type of the business.
- `city`: City where the business is located.

### Analysis Overview

The `analyse.ipynb` notebook contains the following sections:

1. Data Loading and Preprocessing: Load the dataset and perform preprocessing steps such as handling missing values and data cleaning.
2. Exploratory Data Analysis (EDA): Explore the dataset through descriptive statistics, visualizations, and insights about restaurant ratings, review counts, and types.
3. Geospatial Analysis: Visualize the geographical distribution of restaurants using interactive maps.
4. Conclusion: Summarize the key findings and insights from the analysis.

### Contributing

Contributions to this repository are welcome. Feel free to submit bug reports, feature requests, or pull requests.

---

## analyse.ipynb Explanation

The `analyse.ipynb` notebook is a Jupyter Notebook that contains Python code for data analysis and visualization of restaurant data. Here's a breakdown of its contents:

1. **Data Loading and Preprocessing**: This section loads the dataset (`combined_data.xlsx`) into a Pandas DataFrame and performs preprocessing steps such as handling missing values and cleaning the data.

2. **Exploratory Data Analysis (EDA)**: This section explores the dataset through descriptive statistics and visualizations. It includes analyses of restaurant ratings, review counts, and types. Visualizations such as histograms, bar plots, and scatter plots are used to gain insights into the data.

3. **Geospatial Analysis**: This section focuses on visualizing the geographical distribution of restaurants using interactive maps. It utilizes the Folium library to create an interactive map that displays restaurant locations as markers on a map.

4. **Conclusion**: This section summarizes the key findings and insights from the analysis. It provides a concise overview of the main takeaways from the data exploration process.

Overall, the `analyse.ipynb` notebook serves as a comprehensive guide to analyzing and understanding the restaurant data, providing valuable insights for stakeholders in the food industry.
58 changes: 58 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
asttokens==2.4.1
branca==0.7.1
certifi==2024.2.2
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
comm==0.2.2
contourpy==1.2.1
cycler==0.12.1
debugpy==1.8.1
decorator==5.1.1
et-xmlfile==1.1.0
executing==2.0.1
folium==0.16.0
fonttools==4.51.0
idna==3.7
ipykernel==6.29.4
ipython==8.23.0
jedi==0.19.1
Jinja2==3.1.3
joblib==1.4.0
jupyter_client==8.6.1
jupyter_core==5.7.2
kiwisolver==1.4.5
MarkupSafe==2.1.5
matplotlib==3.8.4
matplotlib-inline==0.1.7
nest-asyncio==1.6.0
nltk==3.8.1
numpy==1.26.4
openpyxl==3.1.2
packaging==24.0
pandas==2.2.2
parso==0.8.4
pillow==10.3.0
platformdirs==4.2.1
prompt-toolkit==3.0.43
psutil==5.9.8
pure-eval==0.2.2
Pygments==2.17.2
pyparsing==3.1.2
python-dateutil==2.9.0.post0
pytz==2024.1
pywin32==306
pyzmq==26.0.2
regex==2024.4.16
requests==2.31.0
seaborn==0.13.2
six==1.16.0
stack-data==0.6.3
tornado==6.4
tqdm==4.66.2
traitlets==5.14.3
typing_extensions==4.11.0
tzdata==2024.1
urllib3==2.2.1
wcwidth==0.2.13
xyzservices==2024.4.0

0 comments on commit e100a9f

Please sign in to comment.