TGTGInsightinteligencia telegramLIVE / telegram public index
← Python Academy

TGINSIGHT SIMILAR POSTS

Buscar contenido similar

Canal fuente @python_academy · Post #2339 · 22 ene

Функция reduce В Python модуль functools открывает доступ к функциональным возможностям языка. Одной из замечательных функций в этом модуле является reduce, которая эффективно уменьшает коллекцию данных, последовательно применяя к ним заданную функцию и сохраняя промежуточные результаты. Примером работы reduce может служить последовательное умножение чисел: сначала 1 умножается на 2, затем полученный результат умножается на 3, и так далее. #python#functools

Resultados

1,005 posts similares encontrados

Búsqueda global general

Am Neumarkt 😱

@amneumarkt · Post #349 · 03/05/2022, 06:12

#python Anaconda open sourced this... I have no idea what this is for... https://github.com/pyscript/pyscript

Hashtags

Am Neumarkt 😱

@amneumarkt · Post #322 · 03/03/2022, 07:29

#python I find poetry a great tool to manage Python requirements. I used to manage Python requirements using requirements.txt(environment.yaml) and install them using pip(conda). The thing is, in this stack, we have to pin the version ranges manually. It is quite tedious, and we easily run into version problems for a large project. Poetry is the savior here. When developing a package, we add some initial dependencies to the pyproject.yaml, a PEP standard. Whenever a new package is needed, we run poetry add package-name. Poetry tries to figure out the compatible versions. A lock file for the dependencies with restricted versions will be created or updated. To recreate an identical python environment, we only need to run poetry install. There's one drawback and may be quite painful at some point. Recreating the lock file for dependencies is extremely slow when the complexity grows in the requirements. But this is not a problem if poetry but rather constraints from pypi. One solution to this problem is to use cache. https://python-poetry.org/

Hashtags

Am Neumarkt 😱

@amneumarkt · Post #311 · 17/01/2022, 21:15

#python I thought it was a trivial talk in the beginning. But I quickly realized that I may know every each piece of the code mentioned in the video but the philosophy is what makes it exciting. He talked about some fundamental ideas of Python, e.g., protocols. After watching this video, an idea came to me. Pytorch lightning has implanted a lot of hooks in a very pythonic way. This is what makes pytorch lightning easy to use. (So if you do a lot of machine learning experiments, pytorch lightning is worth a try.) https://youtu.be/cKPlPJyQrt4

Hashtags

人人分享站|B站课程分享

@hezuclub · Post #1550 · 05/12/2025, 14:13

Python 零基础入门移动端爬虫班:从编程到 App 逆向,系统掌握数据采集核心技术! 🧲https://hi189.com/3918.html #Python

Hashtags

Датавизнутая

@dataviz_addict · Post #288 · 09/04/2025, 06:30

Генерация облака слов☁️ Завершающий пост серии про анализ тг-канала⚡️ После сбора всех данных можно наконец-то приступить к визуализации. В данном случае разбираю создание облака слов с помощью библиотеки wordcloud, т.к. в базовом экселе / гугл-таблицах его не сделаешь😣 Файл ipynb с кодом и примечаниями на github: https://github.com/alsosha/word_cloud_generator/blob/main/word_cloud_generator.ipynb Предыдущие посты: 1. Парсинг тг-чата 2. Анализ текста Примеры проектов с использованием кода из постов: 1. Дата-открытки для коллеги 2. Анализ новогодних открыток 3. Подборка инфографики с анализом текстов 💞 #python

Hashtags

12•••5•••10•••1213141516•••20•••25•••30•••35•••40•••45•••50•••55•••60•••65•••70•••75•••80•••8384