Comments (2)
Fixed in e8808cc
from futu_algo.
A quick comparision between CSV and Parquet
CSV | Parquet |
---|---|
Row-based storage format. | A hybrid of Row-based and column-based storage formats. |
It consumes a lot of space as no default compression option is available. For example, a 1TB file will occupy the same space when stored on Amazon S3 or any other cloud. | Compresses data while storing, thus consuming less space. A 1 TB file stored in Parquet format will take up only 130GB of space. |
Query run time is slow because of the row-based search. For each column, every row of data has to be retrieved. | Query time is about 34 times faster because of the column-based storage and presence of metadata. |
More data has to be scanned per query. | About 99% less data is scanned for the execution of the query, thus optimizing performance. |
Most storage devices charge based on the storage space, so CSV format means the high storage cost. | Less storage cost as data is stored in compressed, encoded format. |
File schema has to be either inferred (leading to errors) or supplied (tedious). | File schema is stored in the metadata. |
The format is suitable for simple data types. | Parquet is suitable even for complex types like nested schemas, arrays, dictionaries. |
Credit: https://geekflare.com/parquet-csv-data-storage/
from futu_algo.
Related Issues (20)
- Data Inconsistency HOT 2
- Dynamic Instantiation HOT 1
- US Market HOT 1
- Need a great name for this algo trade soltuion HOT 2
- [MAJOR UPDATE] Data Retrieval Logic Change HOT 3
- Dynamic Instantiation may use same instances to save spaces HOT 1
- Data Processing API + Pathlib Refactor
- support for US options HOT 1
- Support for MacOS or Linux HOT 2
- Stock Data Custom Interval
- Support for Options Trading Strategies HOT 1
- Use GitHub Actions to send daily filtered stock list to subscribers
- futu algo error occurred HOT 2
- FileNotFoundError HOT 2
- ERROR — Cannot subscribe to K-Line: No right to subscribe HOT 5
- Paper trading? HOT 2
- Can't install FutuOpenD via https://www.futunn.com/download/OpenAPI HOT 5
- How to execute main_backend.py or setup.py files? and how to configure HOT 1
- Is there a detailed tutorial? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from futu_algo.