File size: 291 Bytes
04c6827
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
#import pandas as pd
#import pyarrow
#import fastparquet
from datasets import load_dataset_builder
from datasets import load_dataset
dataset = load_dataset("competitions/aiornot")

def read_par(file):
    parquet_file = "data.parquet"
    df = pd.read_parquet(parquet_file, engine='pyarrow')