Did I find the right examples for you? yes no

All Samples(18914)  |  Call(2)  |  Derive(0)  |  Import(18912)
NumPy
=====

Provides
  1. An array object of arbitrary homogeneous items
  2. Fast mathematical operations over arrays
  3. Linear Algebra, Fourier Transforms, Random Number Generation

How to use the documentation
----------------------------(more...)

src/p/y/pylon-HEAD/examples/pyreto/rlopf.py   pylon(Download)
import sys
import logging
import numpy
import scipy.io
import pylab
 
# Define a 24-hour load profile with hourly values.
p1h = numpy([0.52, 0.54, 0.52, 0.50, 0.52, 0.57, 0.60, 0.71, 0.89, 0.85, 0.88,
             0.94, 0.90, 0.88, 0.88, 0.82, 0.80, 0.78, 0.76, 0.68, 0.68, 0.68,
             0.65, 0.58])

src/p/y/Pylon-0.4.4/examples/pyreto/rlopf.py   Pylon(Download)
import sys
import logging
import numpy
import scipy.io
import pylab
 
# Define a 24-hour load profile with hourly values.
p1h = numpy([0.52, 0.54, 0.52, 0.50, 0.52, 0.57, 0.60, 0.71, 0.89, 0.85, 0.88,
             0.94, 0.90, 0.88, 0.88, 0.82, 0.80, 0.78, 0.76, 0.68, 0.68, 0.68,
             0.65, 0.58])

src/s/t/statsmodels-0.4.3/statsmodels/sandbox/examples/example_crossval.py   statsmodels(Download)
 
import numpy as np
 
from statsmodels.sandbox.tools import cross_val
 
    from statsmodels.iolib.table import (SimpleTable, default_txt_fmt,
                            default_latex_fmt, default_html_fmt)
    import numpy as np
 
    data = load()

src/m/a/matplotlib-HEAD/examples/axes_grid/inset_locator_demo2.py   matplotlib(Download)
from mpl_toolkits.axes_grid1.inset_locator import mark_inset
 
import numpy as np
 
def get_demo_image():
    from matplotlib.cbook import get_sample_data
    import numpy as np

src/m/a/Matplotlib--JJ-s-dev-HEAD/examples/axes_grid/inset_locator_demo2.py   Matplotlib--JJ-s-dev(Download)
from mpl_toolkits.axes_grid.inset_locator import mark_inset
 
import numpy as np
 
def get_demo_image():
    from matplotlib.cbook import get_sample_data
    import numpy as np

src/a/l/algopy-HEAD/documentation/sphinx/examples/hessian_of_potential_function.py   algopy(Download)
#Loading the required packages
import scipy as sp
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
from scipy import linalg, optimize, constants
 
import numpy
import algopy
import time

src/n/i/NiPy-OLD-HEAD/nipy/fixes/scipy/stats/models/tests/exampledata.py   NiPy-OLD(Download)
import numpy as np
import os
 
 
filename = os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_data.bin")

src/n/i/nipy-HEAD/nipy/algorithms/statistics/models/tests/exampledata.py   nipy(Download)
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
 
import os
import numpy as np

src/n/i/nipy-0.3.0/nipy/algorithms/statistics/models/tests/exampledata.py   nipy(Download)
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
 
import os
import numpy as np

src/m/a/matplotlib-HEAD/doc/users/plotting/examples/demo_gridspec06.py   matplotlib(Download)
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
import numpy as np
 
try:

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next