Skip to main content

This Package will implement dummy columns for a column with multiple values.

The various supported format are :

1 :host_verifications is a column with values [‘email’, ‘phone’, ‘reviews’, ‘kba’] and we need to create dummy columns separately for each feature.

2 :amenites is a column with values {TV,”Cable TV”,Internet,”Wireless Internet”} and we need to create dummy columns separately for each feature.

The above two senarious are examples where this package can be used to get dummy columns embeded with original dataframe for further analysis.

Code to execute:

Step 1 :- create an object of Mdummies and provide dataframe name and column name as arguments.

from Multiple_dummies import Mdummies

dummies=Mdummies(airbnb_seatle_lis,’amenities’)

step 2: call the function create dummies.

dummies.create_dummies()

Step 3 : Result obtained.

The output will be the dataframe with all the dummy columns attached to the original dataframe and the original column with multiple values will be dropped. Home-page: UNKNOWN Author: Rajath Nagaraj Author-email: rnagara1@mtu.edu License: UNKNOWN Description-Content-Type: UNKNOWN Description: UNKNOWN Platform: UNKNOWN

Metadata

Release files for Multiple-dummies 2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Multiple-dummies 2.0
File Size Uploaded
Multiple_dummies-2.0.tar.gz 1.8 kB Details

Release files / Multiple_dummies-2.0.tar.gz

Download URL Multiple_dummies-2.0.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
471a370bac82eb2c336b051de1ce709eb5f4b67bcb657fc7c6a7fc7af43abfef
BLAKE2b-256 checksum
How to use checksums
deff624cf35ae6ae0a429d2c405035953f351be28b69a9f35d92f3e589309a7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.3

Release history Release notifications | RSS feed

This release

2.0 This release

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page