Skip to main content

Remove all duplicates value from an array

Project description

PyRemoveDuplicates is a Python package that simplifies the process of removing duplicate elements from a list or array. It offers a straightforward and efficient solution for scenarios where data deduplication is required.

Installation

You can install PyRemoveDuplicates using pip, the Python package manager. Open your terminal or command prompt and run the following command:

pip install PyRemoveDuplicates


# After installing the package, you can use it in your Python scripts as follows:
from PyRemoveDuplicates import Unique

# Create a list with duplicate elements
my_list = [1, 2, 2, 3, 4, 4, 5]

# Use the remove_duplicates function to remove duplicates
unique_list = Unique(my_list)

# Print the unique list
print(unique_list)

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyRemoveDuplicates-0.2.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

PyRemoveDuplicates-0.2-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page