repo_id
stringlengths
21
96
file_path
stringlengths
31
155
content
stringlengths
1
92.9M
__index_level_0__
int64
0
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/plotly_demo/dask_app.py
import pandas as pd import cudf from dash import dcc, html import numpy as np import pandas as pd from dash.dependencies import Input, Output, State from dash import dcc import dash_bootstrap_components as dbc import time import dash_daq as daq import dash from dask import delayed from distributed import Client from da...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo/plotly_demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/plotly_demo/utils/__init__.py
from .utils import *
0
rapidsai_public_repos/plotly-dash-rapids-census-demo/plotly_demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/plotly_demo/utils/utils.py
from bokeh import palettes from pyproj import Transformer import cudf import cupy as cp import dask.dataframe as dd import datashader as ds import datashader.transfer_functions as tf import io import numpy as np import os import pandas as pd import pickle import requests try: import dask_cudf except ImportError: ...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo/plotly_demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/plotly_demo/assets/s1.css
/* Table of contents –––––––––––––––––––––––––––––––––––––––––––––––––– - Plotly.js - Grid - Base Styles - Typography - Links - Buttons - Forms - Lists - Code - Tables - Spacing - Utilities - Clearing - Media Queries */ /* Grid –––––––––––––––––––––––––––––––––––––––––––––––––– */ .container { position: relative; ...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/holoviews_demo/README.md
# Panel + Holoviews + RAPIDS | Census 2020 Race Migration Visualization ![hvr1](https://user-images.githubusercontent.com/35873124/189291984-d95ddf27-9ec8-452a-b596-05398ce47969.png) ## Charts 1. Map chart shows the total migration points for chosen view and selected area 2. Top counties bar show the counties with m...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/holoviews_demo/census_net_migration_demo.ipynb
import os os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"] = "6"import pandas as pd, numpy as np import dash # from dash import html from plotly.colors import sequential from holoviews.element.tiles import CartoDark import cudf, cupy import sys,os,datetime,random import geopandas as gpd...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/holoviews_demo/environment.yml
channels: - rapidsai - conda-forge - nvidia dependencies: - python=3.9 - cudatoolkit=11.5 - rapids=22.08 - plotly=5.10.0 - jupyterlab=3.4.3
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_total_population/README.md
# Total population dataset generation ## Order of execution 1. map_blocks_and_calc_population 2. gen_table_with_migration 3. gen_total_population_points_script 4. add_race_net_county_to_population ## Mappings: ### Net <b>1</b>: Inward Migration</br> <b>0</b>: Stationary</br> <b>-1</b>: Outward Migration</br> ### ...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_total_population/gen_total_population_points_script.ipynb
import pandas as pd import geopandas as gpd import ast,os,random pd.set_option('display.float_format','{:.1f}'.format) import warnings warnings.filterwarnings('ignore') import cudf, cupy as cp import numpy as np import time import math import sys,os,datetime,random from shapely.geometry import Point # pd.set_option('di...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_total_population/map_blocks_and_calc_population.ipynb
import pandas as pd import geopandas as gpd import ast,os,random pd.set_option('display.float_format','{:.1f}'.format) import warnings warnings.filterwarnings('ignore') import cudf, cupy as cp import numpy as np import time # pd.set_option('display.max_colwidth', -1)full_2020_path='data/nhgis0007_csv/nhgis0007_ds248_20...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_total_population/gen_table_with_migration.ipynb
import pandas as pd import geopandas as gpd import ast,os,random pd.set_option('display.float_format','{:.1f}'.format) import warnings warnings.filterwarnings('ignore') import cudf, cupy as cp import numpy as np import time import math import pickle # pd.set_option('display.max_colwidth', -1)df = pd.read_csv('data/mapp...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_total_population/add_race_net_county_to_population.ipynb
import cudf, cupy as cp import pandas as pd,numpy as np import random, pickle pd.set_option('display.max_colwidth', 100000)df = pd.read_parquet('data/total_parts_combined.parquet').reset_index(drop=True) # df = cudf.from_pandas(df)adf = pd.read_parquet('data/total_attr_gen_df.parquet') adf.head()adf['points'] = adf[['P...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_total_population/SeparateTotalDatasetsByState.py
import cudf import cuspatial import geopandas as gpd import os from shapely.geometry import Polygon, MultiPolygon DATA_PATH = "../data" DATA_PATH_STATE = f"{DATA_PATH}/state-wise-population" # create DATA_PATH if it does not exist if not os.path.exists(DATA_PATH_STATE): os.makedirs(DATA_PATH_STATE) # Read the to...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_total_population
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_total_population/.ipynb_checkpoints/SeparateTotalDatasetsByState-checkpoint.ipynb
import cudf import pickle# Load the dataset df = cudf.read_parquet('../data/total_population_dataset.parquet') df.head()# Load the state to county mapping id2county = pickle.load(open('../id2county.pkl','rb')) df_counties = cudf.DataFrame(dict(idx=list(id2county.keys()), county=list(id2county.values()))) # Lowercase t...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_net_migration/gen_table_with_race_migration.ipynb
import pandas as pd import geopandas as gpd import ast,os,random pd.set_option('display.float_format','{:.1f}'.format) import warnings warnings.filterwarnings('ignore') import cudf, cupy as cp import numpy as np import time # pd.set_option('display.max_colwidth', -1)full_2020_path='data/nhgis0007_csv/nhgis0007_ds248_20...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_net_migration/assign_race.ipynb
import cudf, cupy as cp import os,random import pandas as pd, numpy as npraces = cudf.read_csv('data/mapped_data_with_race.csv',usecols=['ID20','P_delta','R1_diff','R2_diff','R3_diff','R4_diff','R5_diff','R6_diff','R7_diff']) races.head()races = races.to_pandas()races['R1_diff'] =races['R1_diff'].apply(lambda x : [1]*a...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_net_migration/compute_race.ipynb
import pandas as pd import geopandas as gpd import ast,os,random pd.set_option('display.float_format','{:.1f}'.format) import warnings warnings.filterwarnings('ignore') import cudf, cupy as cp import numpy as np import time # pd.set_option('display.max_colwidth', -1)full_2020_path='data/nhgis0007_csv/nhgis0007_ds248_20...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_net_migration/gen_race_mig_points.ipynb
import pandas as pd, numpy as np import cudf, cupy as cp import os# df = cudf.read_csv('census_full/HI_DE_DC_mapped_data.csv').drop('Unnamed: 0',axis=1) df = cudf.read_csv('data/mapped_data_with_race.csv',usecols=['ID20','R'],dtype={'ID20':'int64','STATE':'int32','COUNTY':'str','points':'int32'}) df.head()len(df)df = d...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_net_migration/README.md
# Net Migration dataset generation ## Order of execution 1. gen_table_with_race_migration 2. gen_race_mig_points 3. compute_race 4. assign_race ## Mappings: ### Block Net <b>1</b>: Inward Migration</br> <b>0</b>: Stationary</br> <b>-1</b>: Outward Migration</br> ### Block diff Integer ### Race <b>0</b>: All</b...
0
rapidsai_public_repos/plotly-dash-rapids-census-demo
rapidsai_public_repos/plotly-dash-rapids-census-demo/data_prep_net_migration/gen_points_in_rectangle_fast_script.ipynb
import cudf, cupy import pandas as pd, numpy as np import geopandas as gpd # from shapely.geometry import Point, Polygon import os import datetime import pickledf = pd.read_csv('data/mapped_data_full.csv',encoding='unicode_escape',dtype={'GISJOIN':'int64','ID20':'int64','STATE':'int32','COUNTY':'str','P20':'int32','P10...
0
rapidsai_public_repos
rapidsai_public_repos/scikit-learn-nv/pyproject.toml
[build-system] requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [project] name = "scikit-learn-nv" version = "0.0.1" authors = [ { name="Tim Head", email="betatim@gmail.com" }, ] description = "A NVIDIA accelerated backend for scikit-learn" readme = "README.md" requires-python = ">=3.7" depen...
0
rapidsai_public_repos
rapidsai_public_repos/scikit-learn-nv/README.md
# A GPU acceleration plugin for scikit-learn > This is a proof-of-concept. Everything might change. ## Install To install this plugin you need to install a in development version of scikit-learn as well as this plugin, and its dependencies: 1. Create a new conda environment: ```commandline conda create -n s...
0
rapidsai_public_repos
rapidsai_public_repos/scikit-learn-nv/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, ...
0
rapidsai_public_repos/scikit-learn-nv
rapidsai_public_repos/scikit-learn-nv/tests/test_kmeans.py
import time import numpy as np import sklearn from sklearn.cluster import KMeans from sklearn.datasets import make_blobs from sklearn.model_selection import train_test_split from sklearn_nv.kmeans import _is_same_clustering def same_rows(a, b): """Determine if the rows are the same, up to a permutation. C...
0
rapidsai_public_repos/scikit-learn-nv/src
rapidsai_public_repos/scikit-learn-nv/src/sklearn_nv/kmeans.py
import time import numpy as np import scipy.sparse as sp import cupy as cp from sklearn.utils import check_random_state, check_array from sklearn.utils.validation import _check_sample_weight, _is_arraylike_not_scalar from pylibraft.distance import fused_l2_nn_argmin from pylibraft.cluster.kmeans import compute_new_c...
0
rapidsai_public_repos
rapidsai_public_repos/dgl-cugraph-build-environment/cugraph_stable_torch.Dockerfile
ARG CUDA_VER=11.8 ARG LINUX_VER=ubuntu20.04 FROM gpuci/miniforge-cuda:$CUDA_VER-devel-$LINUX_VER ARG PYTHON_VER=3.10 ARG RAPIDS_VER=23.04 ARG PYTORCH_VER=2.0.0 ARG CUDATOOLKIT_VER=11.8 RUN conda config --set ssl_verify false RUN conda install -c gpuci gpuci-tools RUN gpuci_conda_retry install -c conda-forge mamba R...
0
rapidsai_public_repos
rapidsai_public_repos/dgl-cugraph-build-environment/README.md
# Dgl Cugraph Build Environment This repo is responsible for building stable docker images that will be consumed by DGL for their CI. Docker Images Link: https://hub.docker.com/r/rapidsai/cugraph_stable_torch-cuda/
0
rapidsai_public_repos
rapidsai_public_repos/gpu-bdb/README.md
# RAPIDS GPU-BDB ## Disclaimer gpu-bdb is derived from [TPCx-BB](http://www.tpc.org/tpcx-bb/). Any results based on gpu-bdb are considered unofficial results, and per [TPC](http://www.tpc.org/) policy, cannot be compared against official TPCx-BB results. ## Overview The GPU Big Data Benchmark (gpu-bdb) is a [RAPIDS...
0
rapidsai_public_repos
rapidsai_public_repos/gpu-bdb/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, ...
0
rapidsai_public_repos/gpu-bdb
rapidsai_public_repos/gpu-bdb/conda/rapids-gpu-bdb-dask-sql-cuda11.2.yml
channels: - rapidsai-nightly - nvidia - conda-forge dependencies: - python=3.8 - cudatoolkit=11.2 - cudf - rmm - dask-cuda - dask-cudf - cuml - dask - distributed - ucx-py - ucx-proc=*=gpu - dask-sql>=2022.1 - numba>=0.54.* - scipy - scikit-learn - cupy - spacy=2.3 - oauth2cli...
0
rapidsai_public_repos/gpu-bdb
rapidsai_public_repos/gpu-bdb/conda/rapids-gpu-bdb.yml
channels: - rapidsai-nightly - nvidia - conda-forge dependencies: - python=3.8 - cudatoolkit=11.0 - cudf - rmm - dask-cuda - dask-cudf - cuml - dask - distributed - ucx-py - ucx-proc=*=gpu - blazingsql - scipy - scikit-learn - cupy - spacy=2.3 - oauth2client - asyncssh - psu...
0
rapidsai_public_repos/gpu-bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/benchmark_runner.py
import glob import re import os import gc import time import uuid import sys N_REPEATS = 5 def get_qnum_from_filename(name): m = re.search("[0-9]{2}", name).group() return m def load_query(qnum, fn): import importlib, types loader = importlib.machinery.SourceFileLoader(qnum, fn) mod = types.Mod...
0
rapidsai_public_repos/gpu-bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/setup.py
# Copyright (c) 2020, NVIDIA CORPORATION. from setuptools import find_packages, setup qnums = [str(i).zfill(2) for i in range(1, 31)] setup( name="bdb_tools", version="0.2", author="RAPIDS", packages=["benchmark_runner", "bdb_tools"], package_data={"benchmark_runner": ["benchmark_config.yaml"]}, ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/web_returns.schema
wr_returned_date_sk bigint , wr_returned_time_sk bigint , wr_item_sk bigint --not null , wr_refunded_customer_sk bigint , wr_refunded_cdemo_sk bigint , wr_refunded_hdemo_sk bigint , wr_refunded_addr_sk bigint , wr_returning_customer_sk bigint ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/warehouse.schema
w_warehouse_sk bigint --not null , w_warehouse_id string --not null , w_warehouse_name string , w_warehouse_sq_ft int , w_street_number string , w_street_name string , w_street_type string , w_suite_number ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/web_clickstreams.schema
wcs_click_date_sk bigint , wcs_click_time_sk bigint , wcs_sales_sk bigint , wcs_item_sk bigint , wcs_web_page_sk bigint , wcs_user_sk bigint
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/customer_address.schema
ca_address_sk bigint --not null , ca_address_id string --not null , ca_street_number string , ca_street_name string , ca_street_type string , ca_suite_number string , ca_city string , ca_county ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/customer.schema
c_customer_sk bigint --not null , c_customer_id string --not null , c_current_cdemo_sk bigint , c_current_hdemo_sk bigint , c_current_addr_sk bigint , c_first_shipto_date_sk bigint , c_first_sales_date_sk bigint , c_salutation ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/item.schema
i_item_sk bigint --not null , i_item_id string --not null , i_rec_start_date string , i_rec_end_date string , i_item_desc string , i_current_price decimal(7,2) , i_wholesale_cost decimal(7,2) , i...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/ship_mode.schema
sm_ship_mode_sk bigint --not null , sm_ship_mode_id string --not null , sm_type string , sm_code string , sm_carrier string , sm_contract string
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/income_band.schema
ib_income_band_sk bigint --not null , ib_lower_bound int , ib_upper_bound int
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/household_demographics.schema
hd_demo_sk bigint --not null , hd_income_band_sk bigint , hd_buy_potential string , hd_dep_count int , hd_vehicle_count int
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/web_page.schema
wp_web_page_sk bigint --not null , wp_web_page_id string --not null , wp_rec_start_date string , wp_rec_end_date string , wp_creation_date_sk bigint , wp_access_date_sk bigint , wp_autogen_flag string , wp_customer_s...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/web_sales.schema
ws_sold_date_sk bigint , ws_sold_time_sk bigint , ws_ship_date_sk bigint , ws_item_sk bigint --not null , ws_bill_customer_sk bigint , ws_bill_cdemo_sk bigint , ws_bill_hdemo_sk bigint , ws_bill_addr_sk bigint ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/reason.schema
r_reason_sk bigint --not null , r_reason_id string --not null , r_reason_desc string
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/inventory.schema
inv_date_sk bigint --not null , inv_item_sk bigint --not null , inv_warehouse_sk bigint --not null , inv_quantity_on_hand int
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/web_site.schema
web_site_sk bigint --not null , web_site_id string --not null , web_rec_start_date string , web_rec_end_date string , web_name string , web_open_date_sk bigint , web_close_date_sk bigint , web_class ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/promotion.schema
p_promo_sk bigint --not null , p_promo_id string --not null , p_start_date_sk bigint , p_end_date_sk bigint , p_item_sk bigint , p_cost decimal(15,2) , p_response_target int , p_promo_n...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/store_sales.schema
ss_sold_date_sk bigint , ss_sold_time_sk bigint , ss_item_sk bigint --not null , ss_customer_sk bigint , ss_cdemo_sk bigint , ss_hdemo_sk bigint , ss_addr_sk bigint , ss_store_sk bigint ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/item_marketprices.schema
imp_sk bigint --not null , imp_item_sk bigint --not null , imp_competitor string , imp_competitor_price decimal(7,2) , imp_start_date bigint , imp_end_date bigint
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/time_dim.schema
t_time_sk bigint --not null , t_time_id string --not null , t_time int , t_hour int , t_minute int , t_second int , t_am_pm string , t_shift ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/store.schema
s_store_sk bigint --not null , s_store_id string --not null , s_rec_start_date string , s_rec_end_date string , s_closed_date_sk bigint , s_store_name string , s_number_employees int , s_floor_space ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/product_reviews.schema
pr_review_sk bigint --not null , pr_review_date string , pr_review_time string , pr_review_rating int --not null , pr_item_sk bigint --not null , pr_user_sk bigint , pr_order_sk bigint , pr...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/date_dim.schema
d_date_sk bigint --not null , d_date_id string --not null , d_date string , d_month_seq int , d_week_seq int , d_quarter_seq int , d_year int , d_dow ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/store_returns.schema
sr_returned_date_sk bigint , sr_return_time_sk bigint , sr_item_sk bigint --not null , sr_customer_sk bigint , sr_cdemo_sk bigint , sr_hdemo_sk bigint , sr_addr_sk bigint , sr_store_sk bigint ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/spark_table_schemas/customer_demographics.schema
cd_demo_sk bigint ----not null , cd_gender string , cd_marital_status string , cd_education_status string , cd_purchase_estimate int , cd_credit_rating string , cd_dep_count int , cd_dep_employed_count int , cd_de...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/__init__.py
# Copyright (c) 2020, NVIDIA CORPORATION.
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q03/gpu_bdb_query_03.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q03/gpu_bdb_query_03_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q03/gpu_bdb_query_03_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q29/gpu_bdb_query_29.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q29/gpu_bdb_query_29_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q29/gpu_bdb_query_29_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q24/gpu_bdb_query_24_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q24/gpu_bdb_query_24_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q24/gpu_bdb_query_24.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q07/gpu_bdb_query_07.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q07/gpu_bdb_query_07_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q07/gpu_bdb_query_07_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q04/gpu_bdb_query_04_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q04/gpu_bdb_query_04_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q04/gpu_bdb_query_04.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q09/gpu_bdb_query_09_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q09/gpu_bdb_query_09_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q09/gpu_bdb_query_09.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q20/gpu_bdb_query_20.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q20/gpu_bdb_query_20_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q20/gpu_bdb_query_20_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q21/gpu_bdb_query_21_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q21/gpu_bdb_query_21.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q21/gpu_bdb_query_21_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q16/gpu_bdb_query_16_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q16/gpu_bdb_query_16_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q16/gpu_bdb_query_16.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q26/gpu_bdb_query_26_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q26/gpu_bdb_query_26.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q26/gpu_bdb_query_26_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q25/gpu_bdb_query_25_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q25/gpu_bdb_query_25.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q25/gpu_bdb_query_25_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q27/gpu_bdb_query_27_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q27/gpu_bdb_query_hf_27.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q27/README.md
# Query 27 ## Query Details: In this query, we find "competitor" company names in the product reviews for a given product. The final output is review id, product id, "competitor’s" company name and the related sentence from the online review. We have two implementations for this query: ## 1. [HuggingFace Impleme...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q27/gpu_bdb_query_27_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q27/gpu_bdb_query_27.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q23/gpu_bdb_query_23_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q23/gpu_bdb_query_23.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q23/gpu_bdb_query_23_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q19/README.md
# Query 19 In this query, we retrieve the items with the highest number of returns where the number of returns was approximately equivalent across all store and web channels (within a tolerance of +/ 10%), within the week ending given dates. We then analyse the online reviews for these items to see if there are any ...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q19/gpu_bdb_query_19.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0