48 {
"spark.app.name":
"distrdf001_spark_connection",
49 "spark.master":
"local[2]",
50 "spark.driver.memory":
"4g"}.
items())
59df_1 =
df.Define(
"gaus",
"gRandom->Gaus(10, 1)").Define(
"exponential",
"gRandom->Exp(10)")
62h_gaus =
df_1.Histo1D((
"gaus",
"Normal distribution", 50, 0, 30),
"gaus")
63h_exp =
df_1.Histo1D((
"exponential",
"Exponential distribution", 50, 0, 30),
"exponential")
74c.SaveAs(
"distrdf001_spark_connection.png")
75print(
"Saved figure to distrdf001_spark_connection.png")
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...