Skip to main content

DS Snippets

Trechso de código úteis sobre DataScience

Autor: Rafael Morais de Assis

Como criar nova versão

Criar pacote here python setup.py sdist bdist_wheel

Instalar aqui e testar pip install -e .

Como atualizar o pacote

=> (mandar para o test-py) twine upload --repository-url https://test.pypi.org/legacy/ dist/* => mandar para Pypi (pip python -m twine upload dist/*

Como usar

Instalar com pip

  • Use ! se estiver no colba/kaggle
!pip install ds-my-snippets

Chamando

import ds_my_snippets as ds

Trecho que funciona

import pandas as pd
import seaborn as sns
import ds_my_snippets as ds

iris = sns.load_dataset('iris')
iris = ds.reduce_mem_usage(iris)

Chamando todas as funções

dir(ds) # lista todas as funçôes do módulo

Metadata

Release files for ds-my-snippets 0.0.4

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

Source distribution (sdist)

Source distribution for ds-my-snippets 0.0.4
File Size Uploaded
ds_my_snippets-0.0.4.tar.gz 11.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ds-my-snippets 0.0.4
File Interpreter ABI Platform
ds_my_snippets-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 22.9 kB

Release files / ds_my_snippets-0.0.4.tar.gz

Download URL ds_my_snippets-0.0.4.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
844acead7401d6b7955658953b8a9cedebbf16268b0398f00265df2aa4278acd
BLAKE2b-256 checksum
How to use checksums
4d814e891e07063e6d5c0e0f0bd9974705ed4464344df8444f9f31cd6190f6e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.4.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.5

Release files / ds_my_snippets-0.0.4-py3-none-any.whl

Download URL ds_my_snippets-0.0.4-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5255d022149b795fb92da426acfbaf38f58575ce60a53208b21115c106f12ea3
BLAKE2b-256 checksum
How to use checksums
de8c05ebbe0511a17803970157b0b83c290a58d308791a56a05f25596291052f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.4.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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