Skip to content

Conversation

aa452948257
Copy link

A benchmark for processing of stock volume and price data.

import numpy as np
import time
import warnings
warnings.filterwarnings("ignore")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have to filter all the warnings?



def stock_benchmark():
data_path = '../test_csv/stock.csv'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to get the file name from the parsed args?

data_path = '../test_csv/stock.csv'
xorbits.init()

p_stocks_df = pd.read_csv(data_path).iloc[:10000]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we just use xorbits.pandas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants