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 = read_text_to_df(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.2.tar.gz (3.7 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.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for evmotosentiment-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1d49df4807ecf55012e7a66331d80594810699151e341f647c7081cf8e2d989e
MD5 d1054254826a0151d68cf6e595b1410f
BLAKE2b-256 d026bda085c4e257675aa09a610618d82e665fbf28969e3c58743d4524ceb594

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for evmotosentiment-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 29aa44b455a930f779e1f6502639f9312480a441fb494def952ff0eb2ab984bf
MD5 d06cef87586536c5b2dd5443c5a0b375
BLAKE2b-256 cea29ab537c21d739b0c62086ac0a6c1265f09f160771c9fb240e35ea267157b

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