Scraping the list of Go To EAT member stores in Fukuoka prefecture and converting it to CSV

Go To Eat Campaign Fukuoka is CSV data in here. conversion

import pandas as pd

df = pd.read_csv("https://gotoeat-fukuoka.jp/csv/fk_gotoeat_UTF-8.csv")

df["13.Store information genre"] = df["13.Store information genre"].replace(
    {
        1: "Japanese food / sushi",
        2: "Western food",
        3: "Chinese cuisine",
        4: "French Italian",
        5: "Ramen and dumplings",
        6: "Yakiniku, hormones, Korean food",
        7: "Sukiyaki / Shabu-shabu",
        8: "Asian / Ethnic / International Cuisine",
        9: "Cafe sweets",
        10: "Family restaurant / dining room",
        11: "Izakaya",
        12: "Bar / dining bar",
        13: "Fast food",
        14: "Udon, soba, rice bowl",
        15: "Other",
    }
)

df.to_csv("fukuoka.csv", encoding="utf_8_sig")

Recommended Posts

Scraping the list of Go To EAT member stores in Fukuoka prefecture and converting it to CSV
Scraping the list of Go To EAT member stores in Niigata prefecture and converting it to CSV
Scraping the member stores of Go To EAT in Osaka Prefecture and converting them to CSV
Convert PDF of list of Go To EAT member stores in Niigata prefecture to CSV
Convert PDF of Go To EAT member stores in Ishikawa prefecture to CSV
Convert PDF of available stores of Go To EAT in Kagoshima prefecture to CSV
Convert PDF of Kumamoto Prefecture Go To EAT member store list to CSV
Convert PDF of Chiba Prefecture Go To EAT member store list to CSV (command)
Scraping the schedule of Hinatazaka46 and reflecting it in Google Calendar
Convert PDF of Go To Eat Hokkaido campaign dealer list to CSV
Predict the amount of electricity used in 2 days and publish it in CSV
The story of creating a store search BOT (AI LINE BOT) for Go To EAT in Chiba Prefecture (1)
Memorandum (in openpyxl ① copy and paste from another book ② refer to the comparison table)
Steps to change table and column names in your Django model at the same time
Scraping the member stores of Go To EAT in Osaka Prefecture and converting them to CSV
[Python] Precautions when retrieving data by scraping and putting it in the list
The story of creating a store search BOT (AI LINE BOT) for Go To EAT in Chiba Prefecture (2) [Overview]
Even in the process of converting from CSV to space delimiter, seriously try to separate input / output and rules
Read the csv file and display it in the browser
Stumble when converting bidirectional list to JSON in Go
[Golang] Command to check the supported GOOS and GOARCH in a list (Check the supported platforms of the build)
Scraping PDF of the status of test positives in each prefecture of the Ministry of Health, Labor and Welfare
Recursively get the Excel list in a specific folder with python and write it to Excel.
Scraping the Excel file of the list of stores handling regional coupons
I wrote it in Go to understand the SOLID principle
Find the white Christmas rate by prefecture with Python and map it to a map of Japan
[Python] The role of the asterisk in front of the variable. Divide the input value and assign it to a variable
It is surprisingly troublesome to get a list of the last login date and time of Workspaces
Convert the result of python optparse to dict and utilize it
Create a function to get the contents of the database in Go
[Python / Jupyter] Translate the comment of the program copied to the clipboard and insert it in a new cell
Use Cloud Dataflow to dynamically change the destination according to the value of the data and save it in GCS
Comparing the basic grammar of Python and Go in an easy-to-understand manner
The one that divides the csv file, reads it, and processes it in parallel
[Linux] Command to get a list of commands executed in the past
Hit the Rakuten Ranking API to save the ranking of any category in CSV
I want to sort a list in the order of other lists
Convert the spreadsheet to CSV and upload it to Cloud Storage with Cloud Functions
Convert PDF of new corona outbreak case in Aichi prefecture to CSV
I want to read CSV line by line while converting the field type (while displaying the progress bar) and process it.
How to save the feature point information of an image in a file and use it for matching
An engineer who has noticed the emo of cryptography is trying to implement it in Python and defeat it
Find it in the procession and edit it
Function to extract the maximum and minimum values ​​in a slice with Go
How to pass the execution result of a shell command in a list in Python
plot the coordinates of the processing (python) list and specify the number of times in draw ()
How to achieve something like a list of void * (or variant) in Go?
I stumbled on the character code when converting CSV to JSON in Python
[Python] How to name table data and output it in csv (to_csv method)
How to count the number of elements in Django and output to a template
Scraping the rainfall data of the Japan Meteorological Agency and displaying it on M5Stack
[Python] Scan the inside of the folder including subfolders → Export the file list to CSV
I want to see a list of WebDAV files in the Requests module
How to get a list of files in the same directory with python