
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
AmitDiwan has Published 10744 Articles

AmitDiwan
243 Views
To return the outer product of two masked arrays with different shapes, use the ma.outer() method in Python Numpy. The first parameter is the input vector. Input is flattened if not already 1-dimensional. The second parameter is the second input vector. Input is flattened if not already 1-dimensional.A masked array ... Read More

AmitDiwan
522 Views
To compare and return True if an array is greater than equal to another, use the numpy.char.greater_equal() method in Python Numpy. The arr1 and arr2 are the two input string arrays of the same shape.Unlike numpy.greater_equal, this comparison is performed by first stripping whitespace characters from the end of the ... Read More

AmitDiwan
129 Views
To return an array with the elements of an array right-justified in a string of length width, use the numpy.char.rjust() method in Python Numpy. The "width" parameter is the length of the resulting strings.The function returns an output array of str or unicode, depending on input type. The numpy.char module ... Read More

AmitDiwan
186 Views
To left-justify elements of an array and set the characters to use for padding, use the numpy.char.ljust() method in Python Numpy. The "width" parameter is the length of the resulting strings. The "fillchar" parameter is the character to use for padding.The function returns an output array of str or unicode, ... Read More

AmitDiwan
189 Views
To return an array with the elements of an array left-justified in a string of length width, use the numpy.char.ljust() method in Python Numpy. The "width" parameter is the length of the resulting strings. The function returns an output array of str or unicode, depending on input type.The numpy.char module ... Read More

AmitDiwan
399 Views
To compare and return True if two string arrays are not equal, use the numpy.char.not_equal() method in Python Numpy. The arr1 and arr2 are the two input string arrays of the same shape.Unlike numpy.not_equal, this comparison is performed by first stripping whitespace characters from the end of the string. This ... Read More

AmitDiwan
2K+ Views
To unpack elements of a uint8 array into a binary-valued output array, use the numpy.unpackbits() method in Python Numpy. The result is binary-valued (0 or 1).Each element of the input array represents a bit-field that should be unpacked into a binary-valued output array. The shape of the output array is ... Read More

AmitDiwan
301 Views
To pack the elements of a binary-valued array into bits in a uint8 array, use the numpy.packbits() method in Python Numpy. The result is padded to full bytes by inserting zero bits at the end. The axis is set using the axis parameter. The axis is the dimension over which ... Read More

AmitDiwan
141 Views
To return a list of the words in the string using separator as the delimiter string, use the numpy.char.split() method in Python Numpy −The 1st parameter is the input arrayThe 2nd parameter is the separatorIf maxsplit parameter is given, at most maxsplit splits are done. The function split() returns an ... Read More

AmitDiwan
157 Views
To return a copy of the string with all occurrences of substring old replaced by new, use the numpy.char.replace() method in Python Numpy −The 1st parameter is the input arrayThe 2nd parameter is the old string to be replacedThe 3rd parameter is the new string to be replaced with the ... Read More