Skip to content

ML-boot-camp/ratebeer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to read the data

  • Download the zipped file: ratebeer.json.gz
  • Unzip it in the folder to create ratebeer.json
  • Load the data in memory in the df_raw dataframe using the snippet below (example to read only the first 100000 rows):
import pandas as pd


def parse(path):
    with open(path, "r") as f:
        for line in f:
            yield eval(line)


filename = "ratebeer.json"
N_rows = 100000
df_raw = pd.DataFrame.from_records(parse(filename), nrows=N_rows)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages