
Pandas DataFrame apply() Method - W3Schools
The apply() method allows you to apply a function along one of the axis of the DataFrame, default 0, which is the index (row) axis. Syntax dataframe .apply( func , axis, raw, result_type, args, kwds )
Python Functions - W3Schools
Information can be passed into functions as arguments. Arguments are specified after the function name, inside the parentheses. You can add as many arguments as you want, just separate them with a comma. The following example has a function with one argument (fname).
Pandas DataFrame transform() Method - W3Schools
The transform() method allows you to execute a function for each value of the DataFrame. Syntax dataframe .transform( func , axis, raw, result_type, args, kwds )
Python Lambda - W3Schools
Use lambda functions when an anonymous function is required for a short period of time.
Python RegEx - W3Schools
RegEx Functions. The re module offers a set of functions that allows us to search a string for a match:
NumPy Filter Array - W3Schools
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
Python filter() Function - W3Schools
The filter() function returns an iterator where the items are filtered through a function to test if the item is accepted or not. Syntax filter( function , iterable )
Python Machine Learning - K-nearest neighbors (KNN) - W3Schools
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
JavaScript Function apply() Method - W3Schools
The JavaScript apply() Method. The apply() method is similar to the call() method (previous chapter). In this example the fullName method of person is applied on person1:
NumPy ufuncs - Create Your Own Function - W3Schools
To create your own ufunc, you have to define a function, like you do with normal functions in Python, then you add it to your NumPy ufunc library with the frompyfunc() method. The frompyfunc() method takes the following arguments: function - the name of the function. inputs - the number of input arguments (arrays). outputs - the number of ...