Quiz 2

Big Data Tools

45 words
1 min read
Python Week 1: the first filter for runtime behavior
Visual companion
Python
Type and operator map

Python Week 1: the first filter for runtime behavior

View
Revision summary

What this note is really saying

Short form

# Big Data Tools [Join Discord](https://discord.gg/gE2m4Qrdqv) [Previous**Time Series**](/notes/04-degree-electives-bsda4001-ds-ai-lab-week09-09-time-series)[Next**PCA & t-SNE**](/notes/04-degree-electives-bsda4001-ds-ai-lab-week10-10b-pca-tsne)

Big Data Tools

python
import dask.dataframe as dd
# Dask: parallel computing
df = dd.read_csv('large_file_*.csv')
result = df.groupby('category').value.mean().compute()
print(result)
# PySpark basics
from pyspark.sql import SparkSession
spark = SparkSession.builder.appName("example").getOrCreate()
df = spark.read.csv("data.csv", header=True, inferSchema=True)
df.show()
df.groupBy("category").agg({"value": "mean"}).show()
Document outline

Keep your place and jump directly to a heading.

Table of Contents
System Normal // Awaiting Context

Intelligence Hub

Navigate the knowledge graph to generate context. The Hub adapts dynamically to surface backlinks, related notes, and metadata insights.