An Interest In:
Web News this Week
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
December 1, 2021 05:19 pm GMT
Original Link: https://dev.to/kingabzpro/a-guide-to-data-analytics-with-duckdb-4j65
A Guide to Data Analytics with DuckDB
The life of a data analyst revolves around loading data through SQL serve, analyzing it using various Python packages, and finally creating the technical report. Sometimes these SQL queries can take a longer time to process as we are dealing with terabytes of data. In this fast-paced world, this strategy fails miserably and most analytics are moving away from traditional ways to doing data analytics. DuckDB solves all the issues, it is integrated with Python & R. It works similarly to SQLite and focuses on providing faster analytical queries.
Sample Code
res = duckdb.query(SELECT sex, SUM(expected_recovery_amount) as Expected, SUM(actual_recovery_amount) as Actual FROM bank_data.csv WHERE recovery_strategy LIKE Level 4 Recovery GROUP BY sex HAVING sex = Female)res.df()
Read full guide on Analytics Vidhya
Original Link: https://dev.to/kingabzpro/a-guide-to-data-analytics-with-duckdb-4j65
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To