NameError: name 'input_table' is not defined

Hi, i want to run the following script in a Knime workflow, I used the Python Scripting Node:

import knime.scripting.io as knio

import pandas as pd

knimeoutputtables[“pythontabelle.table”] = inputtable

def calculateprofit(exceldaten_p):

exceldatenp[“Gewinn”] = exceldatenp[“Preis”] - exceldatenp[“Kosten”]

knime.push(exceldatenp, ‘python_tabelle.table’)

How should i define the input table right? Thx