For the complete documentation index, see llms.txt. This page is also available as Markdown.

Manipulate data

Perform novel analysis on your data.

Manipulating data in Quadratic is easier than ever as you can view your changes in the sheet in real-time. Here is a non-exhaustive list of ways to manipulate your data in Quadratic:

1. Find correlations

# Get the correlation and show the value in the sheet
data['col1'].corr(data['col2'], method='pearson')

# possible methods: pearson, kendall, spearman 

2. Basic stats - max, min, mean, selections, etc.

Reference: https://pandas.pydata.org/docs/getting_started/intro_tutorials/06_calculate_statistics.html

# Get the max value of a column
df["col1"].max()
# Get the min value of a column
df["col1"].min()
# Get the mean value of a column
df["col1"].mean()

3. DataFrame math

Do math on data in the DataFrame. Alternatively, use formulas in the sheet on the values.

4. Data selections

Alternatively, cut/copy/paste specific values in the sheet.

Last updated

Was this helpful?