listManager

To ease lists management


Keywords
list, arrays, listmanager
License
MIT
Install
pip install listManager==1.0

Documentation

listManager

This project has been made to easier to manage lists in Python 3. Sometimes for newbies manage elements into lists can be frustrating, and can make a simple problem become an upset problem.

Content

  • Installation
  • Functionability

Installation

You can use pip to install listManager

pip install listManager

Functionability

On this package are in total twelve functions to help you work with lists.

subtract_elements()

Allows subtraction from left values to right side values. Returns a list.

multiply_elements()

This function allows to multiply elements in list. Returns a list.

divide_elements()

Allows to divide from left to right side. Returns a list.

remove_repeated_elements()

Will remove repeated elements in array. Returns the array without repeated elements.

return_common_elements()

Returns common elements between two arrays. Returns a list.

return_uncommon_elements()

Returns uncommon elements between two arrays. Returns a list.

return_element_index()

Returns index(es) for a specific element in array. Returns a list.

element_average()

Returns the percentage represented by element in the array. Returns a float.

array_average()

Returns the array average. Returns a float.

array_mode()

Returns array mode. Returns an integer.

odd_array_median()

Returns median for an odd array. Can return a float or an integer.

pair_array_median()

Returns median for a pair array. Returns a float.