Skip to main content

No project description provided

Project description

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

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

Multiple_dummies-2.0.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file Multiple_dummies-2.0.tar.gz.

File metadata

  • Download URL: Multiple_dummies-2.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for Multiple_dummies-2.0.tar.gz
Algorithm Hash digest
SHA256 471a370bac82eb2c336b051de1ce709eb5f4b67bcb657fc7c6a7fc7af43abfef
MD5 89483f4b0a09202d2e50f4e921c2baca
BLAKE2b-256 deff624cf35ae6ae0a429d2c405035953f351be28b69a9f35d92f3e589309a7f

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