Skip to main content

PYthon ToolKits and AutomationS (PYTKAS) library containing my classes & UDFs I use during various Data Science and Software Engineering projects

Project description

pytka

My own PYthon ToolKits and Automations library built over time with the purpose to reuse anytime

💡HINT: The package contains pytka_demo.ipynb file that aims to showcase all of the available functions. It's recommended to use it within Google Colab since it provides better Markdown support and allows for easier navigation

📋 All available functions & classes

Use doctrings to understand what the function/class is about and how to use it

📋 dataframes

  1. 🌡️ optimize_dataframe()
  2. 🚮 remove_dataframes()
  3. 😀 dummify_dataframe()
  4. 🗑️ remove_column_if_present()
  5. 📰 text_input_to_numericals()
  6. 🧮 df_memory_usage()

💡 eda

  1. AutoEDA() class

🎁 features

  1. ☀️ extend_features_with_similarities_and_distances(),
  2. 📐 calculate_cosine_similarity(),
  3. 📏 calculate_distances()
  4. ⚖️ imbalanced_resampling()
  5. 🪱 filter_outliers()
  6. 🚄 quick_pca()

🏆 kaggle

  1. 🔗 create_download_link()
  2. ✅ validate_kaggle_submission()

⏱️ logging

  1. 🖥️ list_devices()
  2. 🤖 mlflow_experiment()
  3. 🦶 step_time_calculation()

🦍 modelling

  1. 🏹 UltimateClassifier() class
  2. 😾 train_catboost()

🧠 neural_nets

  1. 🪠 sparse_softmax()

🛠️ nlp

  1. 🔠 string_to_lowercase_word_list()
  2. 👅 calculate_english_word_ratio()
  3. ⛓️‍💥 avg_word_length()
  4. ⛓️ avg_sentence_word_length()
  5. 🟦 tfidf_vectorize_sequences()
  6. 👻 describe_tfidf_vectorizer()

🐟 optuna

  1. 🦇 optuna_parallel_coordinates()

🚜 others

  1. 🎁 create_zip()

🎨 plots

  1. 🛜 make_html_filename()
  2. 📊 calculate_boxplot_stats()

⏭️ Upcoming

  1. Unittests
  2. CircleCI pipelines

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

pytkas-1.0.0.tar.gz (271.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytkas-1.0.0-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file pytkas-1.0.0.tar.gz.

File metadata

  • Download URL: pytkas-1.0.0.tar.gz
  • Upload date:
  • Size: 271.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for pytkas-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cc98c7316f28c4da21b38376fbebef466f1dc29cab3dd8cf0ef82a6d0cd06112
MD5 400fdb1c991dc12c6ec3eb298d3ff4d3
BLAKE2b-256 a4c664ae5f332a48bc642eb133e31825d79aaca6e9d67729ef7ee130679c1bb2

See more details on using hashes here.

File details

Details for the file pytkas-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pytkas-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for pytkas-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a18cc5afc9c42bf493db1607a7bd66125ff3a16bc0e331d3c28fe9a5a9888b7
MD5 d4fa425040bd3d42f68272d934d8bb08
BLAKE2b-256 a410f363b4472d4b8da0f0bec2d1c630a7c412a884908782b39907f89aa531fc

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