New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

datazets

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datazets

Datazets is a python package to import well known example data sets.

  • 1.1.0
  • PyPI
  • Socket score

Maintainers
1

datazets

Python Pypi Docs LOC Downloads Downloads License Forks Issues Project Status GitHub Repo stars GitHub repo size Donate

  • datazets is Python package

Star this repo if you like it! ⭐️

pip install datazets
Import datazets
# Import library
import datazets as dz
# Import data set
df = dz.get('titanic')

Data sets:
Dataset NameShape SizeTypeDescription
meta(1472, 20)Continuoustime
bitcoin(2522, 2)Continuoustime
iris(150, 3)ContinuousClassic flower classification dataset with iris species measurements with coordinates
------------------------------------------------------------------------------------------------------------------------------------------------------------------
gas_prices(6556, 2)Mixedtime
ads(10000, 10)DiscreteData on online ads, covering click-through rates and targeting information
sprinkler(1000, 4)DiscreteSynthetic dataset with binary variables for rain and sprinkler probability illustration
random_discrete(1000, 5)DiscreteSynthetic dataset with random discrete variables, useful for probability modeling
------------------------------------------------------------------------------------------------------------------------------------------------------------------
malicious_urls(387588, 2)TextURLs labeled as malicious or benign, useful in cybersecurity
malicious_phish(651191, 4)TextURLs labeled as malicious or benign, defacement, phishing, malware (cybersecurity)
------------------------------------------------------------------------------------------------------------------------------------------------------------------
stormofswords(352, 3)NetworkCharacter data from A Storm of Swords, with relationships, traits, and alliance info
bigbang(9, 3)NetworkData on The Big Bang Theory episodes and characters
energy(68, 3)NetworkData on building energy consumption
------------------------------------------------------------------------------------------------------------------------------------------------------------------
auto_mpg(392, 8)MixedData on cars with features for predicting miles per gallon
breast_cancer(569, 30)MixedDataset for breast cancer diagnosis prediction using tumor cell features
cancer(4674, 9)MixedCancer patient data for classification and prediction of diagnosis outcome with Coordinates
census_income(32561, 15)MixedUS Census data with various demographic and economic factors for income prediction
elections_rus(94487, 23)MixedRussian election data with demographic and political attributes
elections_usa(24611, 8)MixedUS election data with demographic and political attributes
fifa(128, 27)MixedFIFA player stats including attributes like skill, position, country, and performance
marketing_retail(999, 8)MixedRetail customer data for behavior and segmentation analysis
predictive_maintenance(10000, 14)MixedIndustrial equipment data for predictive maintenance
student(649, 33)MixedData on student performance with socio-demographic and academic factors
surfspots(9413, 4)Mixedlatlon
tips(244, 7)MixedRestaurant tipping data with variables on meal size, day, and tip amount
titanic(891, 12)MixedTitanic passenger data with demographic, class, and survival information
waterpump(59400, 41)MixedWater pump data with features for predicting functionality and maintenance needs
------------------------------------------------------------------------------------------------------------------------------------------------------------------
cat_and_dogNoneImageImages of cats and dogs for classification and object recognition
digits(1083, 65)ImageHandwritten digit images (8x8 pixels) for recognition and classification
faces(400, 4097)ImageImages of faces used in facial recognition and feature analysis
flowersNoneImageVarious flower images for classification and image recognition
img_peaks1(930, 930, 3)ImageSynthetic peak images for image processing and analysis
img_peaks2(125, 496, 3)ImageAdditional synthetic peak images for image processing
mnist(1797, 65)ImageMNIST handwritten digit images (28x28 pixels) for classification tasks
scenesNoneImageScene images for scene classification tasks
southern_nebulaNoneImageImages of the Southern Nebula, suitable for astronomical analysis
------------------------------------------------------------------------------------------------------------------------------------------------------------------
blobsCustomContinuousSynthetic data of datapoints in blob shape
moonsCustomContinuousSynthetic data of datapoints in moon shape
circlesCustomContinuousSynthetic data of datapoints in circle shape
anisotropicCustomContinuousSynthetic data of datapoints with anisotropic shape
globularCustomContinuousSynthetic data of datapoints with globular shape
uniformCustomContinuousSynthetic data with uniform shape
densitiesCustomContinuousSynthetic data with different densities
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Example:

import datazets as dz
df = dz.get(data='titanic')


import datazets as dz

# Import from url
url='https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data'
df = dz.get(url=url, sep=',')

Maintainer

Contribute

  • All kinds of contributions are welcome!
  • If you wish to buy me a Coffee for this work, it is very appreciated :)

Licence

See LICENSE for details.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc