Note
Go to the end to download the full example code
Link Pandas and OpenTURNSΒΆ
# sphinx_gallery_thumbnail_path = '_static/pandas.png'
In this example we are going to explore interaction with Pandas data analysis tool.
import openturns as ot
ot.Log.Show(ot.Log.NONE)
Create a sample from a 3-d normal distribution
sample = ot.Normal(3).getSample(10)
Create a DataFrame from a Sample
df = sample.asDataFrame()
df.describe()
Create a Sample from a DataFrame
sample2 = ot.Sample.BuildFromDataFrame(df)
sample2
Total running time of the script: ( 0 minutes 0.168 seconds)