Tutorial by Examples: e

Unlike the .xs method, this allows you to assign values. Indexing using slicers is available since version 0.14.0. In [1]: import pandas as pd import numpy as np arrays = [['bar', 'bar', 'baz', 'baz', 'foo', 'foo', 'qux', 'qux'], ['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two'...
Add the autodoc module in the extensions list present in the conf.py file at the root of your documentation: extensions = [ 'sphinx.ext.autodoc', ... ]
Autodoc needs to imports your modules to work. You can include your code path in your conf.py file. For instance: import os sys.path.insert(0, os.path.abspath('../src'))
Detailed instructions on getting uikit set up or installed.
Once a model is built predict is the main function to test with new data. Our example will use the mtcars built-in dataset to regress miles per gallon against displacement: my_mdl <- lm(mpg ~ disp, data=mtcars) my_mdl Call: lm(formula = mpg ~ disp, data = mtcars) Coefficients: (Intercep...
Create an account Go to https://bitbucket.org/ Click on Get Started on the top right corner Enter your email address, and click continue Enter your full name, password and verification code. Then click Continue An email will be sent to you to verify that you created your account After that...
Go to the Bitbucket repository you want to add users to. On the left, go to Settings (the last icon on the bottom left). Select Users and group access. Under Users, start typing the name or email address of the user whom you want to add. Select the privilege you want to grant that user (Read, ...
To use Splatting to call Get-Process with the -FileVersionInfo switch similar to this: Get-Process -FileVersionInfo This is the call using splatting: $MyParameters = @{ FileVersionInfo = $true } Get-Process @MyParameters Note: This is useful because you can create a default set of p...
A simple multiwindow example using signals and slots. There is a MainWindow class that controls the Main Window view. A second window controlled by Website class. The two classes are connected so that when you click a button on the Website window something happens in the MainWindow (a text label i...
var express=require("express"); //express is included var path=require("path"); //path is included var app=express(); //app is an Express type of application app.set("views",path.resolve(__dirname,"views")); //tells express about the locati...
the following is an ejs file. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Hello, world!</title> </head> <body> <%= message %> </body> </html>
app.get("/",function(req,res){ response.render("index",{ //render the index when root(/) is requested message:"rendered view with ejs" }); });
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Hello, world!</title> </head> <body> message:"rendered view with ejs" </body> </html>
Use the config.frameworks option to get an array of Symbols that represent each framework.
ActionMailer ActionPack ActionWebService ActiveRecord ActiveSupport Railties
ActionMailer ActionPack ActiveRecord ActiveResource (ActiveWebService was replaced by ActiveResource, and with that, Rails moved from SOAP to REST by default) ActiveSupport Railties
ActionMailer ActionPack ActiveModel ActiveRecord ActiveResource ActiveSupport Railties
You can use @Value("#{expression}") to inject value at runtime, in which the expression is a SpEL expression. Literal expressions Supported types include strings, dates, numeric values (int, real, and hex), boolean and null. "#{'Hello World'}" //strings "#{3.1415926}&qu...
JVM is an abstract computing machine or Virtual machine that resides in your RAM. It has a platform-independent execution environment that interprets Java bytecode into native machine code. (Javac is Java Compiler which compiles your Java code into Bytecode) Java program will be running inside the...
import React from 'react'; class Pane extends React.Component { constructor(props) { super(props); } render() { return React.createElement( 'section', this.props ); } }

Page 932 of 1191