Articles on Trending Technologies

Technical articles with clear explanations and examples

What is the Directory Server?

Ginni
Ginni
Updated on 10-Feb-2022 4K+ Views

The directory server is a type of data warehouse of resources accessible on the related network. Resources such as database devices, individual databases, file repositories, transaction systems, file storage areas, printers, and people.The people descriptions include names and addresses, organization roles, e-mail addresses, and more. The directory server reveals selected items of information to legitimate, authenticated requesters. It is meant to be a useful, centralized, controlling resource for finding out how to communicate on the associated network.Many vendors have agreed on the LDAP standard for communicating with a directory server, and, thus, implicitly for implementing a directory server. The term ...

Read More

Return evenly spaced values within a given interval in Numpy

AmitDiwan
AmitDiwan
Updated on 10-Feb-2022 343 Views

Create an array with int elements using the numpy.arange() method. The 1st parameter is the "start" i.e. the start of the interval. The 2nd parameter is the "end" i.e. the end of the interval. The 3rd parameter is the spacing between values. The default step size is 1.Values are generated within the half-open interval [start, stop). For integer arguments the function is equivalent to the Python built-in range function, but returns an ndarray rather than a list.The stop is the end of interval. The interval does not include this value, except in some cases where step is not an integer ...

Read More

Create a record array from binary data in Numpy

AmitDiwan
AmitDiwan
Updated on 10-Feb-2022 621 Views

To create a record array from binary data, use the numpy.core.records.fromstring() method in Python Numpy. We have used the tobytes() method for binary data.The first parameter is the datastring i.e. the buffer of binary data. The function returns the record array view into the data in datastring. This will be readonly if datastring is readonly. The offset parameter is the position in the buffer to start reading from. The formats, names, titles, aligned, byteorder parameters, if dtype is None, these arguments are passed to numpy.format_parser to construct a dtype.StepsAt first, import the required library −import numpy as npSet the array type ...

Read More

Create a recarray from a list of records in text form in Numpy

AmitDiwan
AmitDiwan
Updated on 10-Feb-2022 205 Views

To create a recarray from a list of records in text form, use the numpy.core.records.fromrecords() method in Python Numpy. The names is set using the "names" parameter. The field names, either specified as a comma-separated string in the form 'col1, col2, col3', or as a list or tuple of strings in the form ['col1', 'col2', 'col3']. An empty list can be used, in that case default field names (‘f0’, ‘f1’, …) are used.The first parameter is the data in the same field may be heterogeneous - they will be promoted to the highest data type. The dtype is the valid ...

Read More

How do Power Stations produce more kW when there is an increased demand?

Manish Kumar Saini
Manish Kumar Saini
Updated on 10-Feb-2022 713 Views

The useful output of a power generating station is the kW output which is delivered by the station to the electrical supply system. Sometimes, a power generating station needs to deliver more kW to meet the increased power demand. This can be achieved by any of the following two methods −By increasing kVA capacity – In this method, the kVA capacity of the power generating station is increased at the same power factor to meet the increased kW demand. Although, this causes extra cost to increase the kVA capacity of the power station.By improving power factor – In this method, ...

Read More

The Most Economical Power Factor – Definition, Formula and Examples

Manish Kumar Saini
Manish Kumar Saini
Updated on 10-Feb-2022 6K+ Views

Most Economical Power FactorThe value to which the power factor should be improved so as to have maximum net annual saving is called the most economical power factor.When a consumer improves the power factor, it results in reduction in his maximum kVA demand. Consequently, there will be an annual saving over the maximum demand charges. Although the power factor improvement involves the capital investment on the power factor correction equipment, the consumer will draw expenditure every year in the shape of annual interest and depreciation on the investment made over equipment used for power factor correction. Hence, the net annual ...

Read More

Return a new array of given shape filled with a fill value and a different output type in Numpy

AmitDiwan
AmitDiwan
Updated on 10-Feb-2022 3K+ Views

To return a new array of given shape and type, filled with a fill value, use the numpy.full() method in Python Numpy. The 1st parameter is the shape of the new array. The 2nd parameter sets the fill value. The 3rd parameter is used to set the desired data-type of the returned output array.The dtype is the desired data-type for the array. The order suggests whether to store multidimensional data in C- or Fortran-contiguous (row- or column-wise) order in memory.NumPy offers comprehensive mathematical functions, random number generators, linear algebra routines, Fourier transforms, and more. It supports a wide range of ...

Read More

Return a new array of given shape and type, filled with array-like in Numpy

AmitDiwan
AmitDiwan
Updated on 10-Feb-2022 258 Views

To return a new array of given shape and type, filled with a fill value, use the numpy.full() method in Python Numpy. The 1st parameter is the shape of the new array. The 2nd parameter sets the fill value as array-like.The dtype is the desired data-type for the array. The order suggests whether to store multidimensional data in C- or Fortran-contiguous (row- or column-wise) order in memory.NumPy offers comprehensive mathematical functions, random number generators, linear algebra routines, Fourier transforms, and more. It supports a wide range of hardware and computing platforms, and plays well with distributed, GPU, and sparse array ...

Read More

Return a new array of given shape and type filled with a fill value in Numpy

AmitDiwan
AmitDiwan
Updated on 10-Feb-2022 611 Views

To return a new array of given shape and type, filled with a fill value, use the numpy.full() method in Python Numpy. The 1st parameter is the shape of the new array. The 2nd parameter sets the fill value.The dtype is the desired data-type for the array. The order suggests whether to store multidimensional data in C- or Fortran-contiguous (row- or column-wise) order in memory.NumPy offers comprehensive mathematical functions, random number generators, linear algebra routines, Fourier transforms, and more. It supports a wide range of hardware and computing platforms, and plays well with distributed, GPU, and sparse array libraries.StepsAt first, ...

Read More

Return an array of zeros with the same shape and type as a given array in Numpy

AmitDiwan
AmitDiwan
Updated on 10-Feb-2022 3K+ Views

To return an array of zeros with the same shape and type as a given array, use the numpy.zeroes_like() method in Python Numpy. The 1st parameter here is the shape and data-type of array-like that define these same attributes of the returned array.The dtype overrides the data type of the result. The order parameter overrides the memory layout of the result. ‘C’ means C-order, ‘F’ means F-order, ‘A’ means ‘F’ if a is Fortran contiguous, ‘C’ otherwise. ‘K’ means match the layout of a as closely as possible. The subok parameter, if True, then the newly created array will use ...

Read More
Showing 46101–46110 of 61,297 articles
Advertisements