Tutorial by Examples: l

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']] idx_row = pd.MultiIndex.from_arrays(arrays, names=['Row_First', 'Row_Second']) idx_col = pd.MultiIndex.from_pro...
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', ... ]
Detailed instructions on getting uikit set up or installed.
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...
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
import React from 'react'; class Panel extends React.Component { constructor(props) { super(props); } render(...elements) { var props = Object.assign({ className: this.props.active ? 'active' : '', tabIndex: -1 }, this.prop...
import React from 'react'; import Tab from './Tab.js'; class PanelGroup extends React.Component { constructor(props) { super(props); this.setState({ panels: props.panels }); } render() { this.tabSet = []; this.panelSet = ...
import React from 'react'; import Pane from './components/Pane.js'; import Panel from './components/Panel.js'; import PanelGroup from './components/PanelGroup.js'; class MainView extends React.Component { constructor(props) { super(props); } render() { return...
Built-in database user roles and database administration roles roles exist in each database. Database User Roles read readwrite
Detailed instructions on getting arraylist set up or installed.
Detailed instructions on getting Flash set up or installed.
ngRepeat uses $watchCollection to detect changes in the collection. When a change happens, ngRepeat then makes the corresponding changes to the DOM: When an item is added, a new instance of the template is added to the DOM. When an item is removed, its template instance is removed from the DOM...

Page 668 of 861