Skip to main content

Package to analyse Motorcycle EV swap related issues

Project description

Motoevsentiment

A package for extracting and analyzing sentiment from EV motorcycle feedback provided by customers and employees.

wsentiment subpackage

This subpackage analyses WhatsApp related messages for sentiment.

Using wsentiment

import by using

from evmotosentiment.wsentiment import wsentiment_score

wsentiment_score takes only string inputs.

  • example
wsentiment_score('kofi has lights out')
>> -2

wdataframe

This subpackage changes WhatsApp text export file (.txt) into a dataframe

Using wdataframe

import using

from evmotosentiment.wsentiment import wdataframe
  • example
# Suppose you have a text file with data
test_file = "sample.txt"

# Read the text file into a Pandas DataFrame
df = wdataframe(test_file)

# Display the DataFrame
print(df)

              datetime       sender     message
0  2023-09-29 07:49:00    John Doe          ok
1  2023-09-29 08:15:00    Jane Doe  swapped battery

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

evmotosentiment-0.1.3.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evmotosentiment-0.1.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file evmotosentiment-0.1.3.tar.gz.

File metadata

  • Download URL: evmotosentiment-0.1.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.13

File hashes

Hashes for evmotosentiment-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6eb75088cce2374e649f199dc640b0b8b2ec5bb4104f47ca48e77fc5ecbfa060
MD5 a4d1e5d1d2a95334aebf8bffa6e7c194
BLAKE2b-256 0c178759c91dedc6fa3eea873d13ba351d4b3546750b644b76aa8adaa9833f39

See more details on using hashes here.

File details

Details for the file evmotosentiment-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for evmotosentiment-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a3802abf810f5fe3a43325e6290122f9c38dd3c3a65c518e4f13a182752e23ea
MD5 5cd0a49524c87d91764fa7b16c65f727
BLAKE2b-256 53ec77dd0f791d5c7fc0f9b3d2a43ff05231343ee6c0caf024e9573b7172b584

See more details on using hashes here.

Supported by

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