-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stock benchmark #2
base: main
Are you sure you want to change the base?
Conversation
import numpy as np | ||
import time | ||
import warnings | ||
warnings.filterwarnings("ignore") |
There was a problem hiding this comment.
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' |
There was a problem hiding this comment.
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] |
There was a problem hiding this comment.
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?
A benchmark for processing of stock volume and price data.