import numpy as np
np.sin(2)0.9092974268256817
import pandas as pd
s=pd.Series([3,2,5,7,9])
s0 3
1 2
2 5
3 7
4 9
dtype: int64
s.indexRangeIndex(start=0, stop=5, step=1)
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.
When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:
import numpy as np
np.sin(2)0.9092974268256817
import pandas as pd
s=pd.Series([3,2,5,7,9])
s0 3
1 2
2 5
3 7
4 9
dtype: int64
s.indexRangeIndex(start=0, stop=5, step=1)
1 + 1[1] 2
You can add options to executable code like this
[1] 4
The echo: false option disables the printing of code (only output is displayed).