I am new to python and Quantopian. I have been watching tutorials and reading tutorials and and reading help files and trying to understand how to make a pipeline. However, i keep seeing it created in a few different ways and i am not sure what the differences are. Some start with def and some don't. Some have context in parenthesis and some don't. Some use make_pipeline and some use pipeline. See below.
Style #1
def make_pipeline(context)
pipe = pipeline()
Style #2
def make_pipeline()
return Pipeline()
Style #3
pipe = make_pipeline(context)
Style #4
pipe = Pipeline()