368 karma · joined September 27, 2011
Also, Malloy has done something clever. They embed duckdb into their VSCode extension, so you can easily query (and join) .csv or .parquet files on the fly. I laugh when I think of all the time I spent noodling with pandas code to do simple data cleaning, analysis, or joining. This also means that you can press "." on any github repo and start querying.
I teach MS Business Analytics students - they really enjoyed walking through an analysis of first names given in the USA for the past century. To see it, click to the github repo [1], press ".", install the Malloy extension, click back to the names1.malloynb file and run the queries.
[1]: https://github.com/malloydata/malloy-samples/blob/main/names...
DuckDB is a great tool. In April 2020, the creator of DuckDB gave a talk at CMU. In the beginning he makes a convincing argument (in 5 minutes) why data scientists don't use RDBMS and how this was the genesis of DuckDB. Here is a video that starts 3 minutes into the talk (where is argument starts): https://youtu.be/PFUZlNQIndo?si=ql9n2QuBlAEuGIqo&t=204
Here is an aerial view that has a similar orientation [1].
The park is a cycling park, which explains the curvy paths.
[1] - https://www.google.com/maps/search/kowloon+walled+city/@22.3...
I would also miss the nest feature of Malloy, and the way it handles time / dates / timestamps.
For example, go here [1]. Press "." (this loads vscode in browser) and you will be analyzing large .csv or .parquet files directly in your browser, after you click on the .malloynb file
Something I made to analyze every form submitted to the Securities and Exchange Commission (SEC) (10-K etc.) since 2014. [2] Go there, press ".", install the malloy extension, and click on the .malloynb file! Do it all within your browser, or download it and use it in VScode.
[1] https://github.dev/malloydata/quickstart/blob/main/README [2] https://github.dev/mrtimo/isa5
https://staging.cohostcdn.org/attachment/11357255-b6b9-4a57-...
With Malloy you can do the analysis on your data lake directly for 80% of your questions.
I have found Malloy[1] to be easier to read and write, even for really complex queries. Malloy complies to SQL. As an example check out [2].
Malloy can query .csv files directly (enabled by duckdb). You can also join .csv files. This makes getting started a breeze for beginners, and is a boon for data scientists. Much easier than Pandas in many cases.
With the visualization capabilities it has built in, Malloy sort-of competes with Tableau and PowerBI.
Most people only write SQL to get data out of databases, for these people, Malloy is an interesting tool to consider.
[1] https://www.malloydata.dev/ [2] https://docs.malloydata.dev/blog/2023-10-26-malloy-bump-char...
Not affiliated with Malloy, I've just played with it for a while and been impressed. It's also MIT licensed.
.parquet preserves data types (unlike CSV)
They are 10x smaller than CSV. So 600GB instead of 6TB.
They are 50x faster to read than CSV
They are an "open standard" from Apache Foundation
Of course, you can't peek inside them as easily as you can a CSV. But, the tradeoffs are worth it!
Please promote the use of .parquet files! Make .parquet files available for download everywhere .csv is available!
[1] https://docs.google.com/document/d/1OpZl4P3d0WKH9XtErUZib5_2...
The students like a book called "Adventures of an IT leader". It's a fun read that students with work experience can relate to. And students without work experience can learn a lot from.
>New telecommunications regulations are being introduced in the EU and U.S. beginning in 2021. To comply with these new regulations, we need to remove the call phones feature in Hangouts. [1]
It appears that the change is due to new regulations?
[1]: https://blog.google/products/workspace/latest-google-hangout...
Just tried it out for a couple hours, a little feedback on the UI: -After I changed code around, I clicked "play" on the video (mistakenly thinking it would run my code)- of course it resumed the video, and all my code changes/additions were gone. Frustrating for a few times, until I learned my lesson. -After a video finished, I started editing code, but the auto-advance kicked in, moving me to the next video, and ending my code edit.