Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10248

[PyROOT] Segfault with RDataFrame.Take

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Fixed
    • None
    • 6.22/02
    • PyROOT, RDataFrame
    • Running on todays master (commit 6b48032d93cd868f79872533718e3d3a7292aa4c)

      Current PyROOT (not experimental)
      Linux

    Description

      Following snipplet does result in a segfault:

      import ROOT
      df = ROOT.RDataFrame(4).Define("x", "(float)rdfentry_")
      x = df.Take("float")("x").GetValue()
      print(x)
      

      However, works fine with the snipplet below:

      import ROOT
      df = ROOT.RDataFrame(4).Define("x", "(float)rdfentry_")
      x = df.Take("float")("x")
      print(x.GetValue())
      

      Attachments

        Activity

          People

            etejedor Enric Tejedor Saavedra
            swunsch Stefan Wunsch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: