Package to analyse Motorcycle EV swap related issues
Project description
Motoevsentiment
A package for analysing swap related messages.
wsentiment subpackage
This subpackage analyses WhatsApp related messages for sentiment.
Using wsentiment
import by using
from motoevsentiment.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 motoevsentiment.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file evmotosentiment-0.1.1.tar.gz.
File metadata
- Download URL: evmotosentiment-0.1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37a267b45ce2b99efcdaf8d91729e1fc4848d8ae313db7964333e4dbe6cdf0b4
|
|
| MD5 |
1e4e44eb4c734ab9715173b1322f0ee9
|
|
| BLAKE2b-256 |
bd2cdee7a8d5672aa7af7f6f368a0b6aeb566db334f33803f04d008b7a450d07
|
File details
Details for the file evmotosentiment-0.1.1-py3-none-any.whl.
File metadata
- Download URL: evmotosentiment-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf8f6a271b62e450e131c1480eec70e79b51479d7456e51203711b8f64e75c6d
|
|
| MD5 |
bf5a39cfd034bf87232a7de53cd71a9e
|
|
| BLAKE2b-256 |
7cc5819803765fa982d3240cee4d1a2567d569b8a801dbc7457d3e00119fac34
|