pandas
DataFrames for loading, cleaning, grouping and analysing tabular data.
Beginner
import pandas as pd
df = pd.read_csv("log.csv", parse_dates=["time"])
df.describe()
df.groupby("sensor")["value"].mean()
df.resample("1min", on="time").mean()
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.