Один из самых удобных способов записать данные это использование готовых форматов, такие как JSON или YAML.
Из плюсов такого подхода стоит отметить вот что:
🔸 готовый, повсеместно используемый и поддерживаемый формат
🔸 простой и понятный файл, удобочитаемый для человека
🔸 можно легко редактировать в любом текстовом редакторе без специальных программ и библиотек
Но есть и минусы
🔹 затраты времени при записи файла (кодирование данных в нужный формат строки)
🔹 затраты времени при чтении файла (декодирование данных в Python объекты)
🔹 размер файла увеличивается из-за разметки данных (скобки, запятые, переносы, отступы...)
🔹 перед записью все данные должны быть помещены в память в полном объёме (не всегда)
🔹 при чтении необходимо считать весь файл в память и только потом декодировать данные
Если нужно писать немного данных в несколько файлов, то затраты по времени не ощутимы. Обычно это файлы конфига или какие-либо метаданные. Это отличный вариант под такие задачи.
Есть и другой поход к записи файлов - это бинарные файлы. Используется, когда данных достаточно много и никто их не собирается читать глазками😳.
🔸 очень быстрая запись
🔸 чтение значительно быстрей чем JSON, YAML итд
🔸 размер файла значительно меньше, так как нет разметки
🔸 можно записывать данные по мере поступления не загружая всё в память
🔸 можно извлечь любую часть данных независимо
Из минусов
🔹 нужно определить свой формат записи данных (если не используете готовую спецификацию определённого формата)
🔹 не получится открыть файл и визуально понять что там записано, а для чтения файла потребуется знать его спецификацию.
🔹 не так-то просто создать такой файл без специальной библиотеки
В таком виде удобно записывать большой массив любых однородных данных. Например, мониторинг валютной биржи или кэшированная анимация 3D геометрии.
(Это не означает что нельзя записать данные разного типа, просто это будет не так удобно)
Представьте себе JPG-картинку. По сути это немного мета-информации и большой массив пикселей. Тоже самое со звуком или видео файлом. Поэтому, если вы попробуете открыть картинку в текстовом редакторе вы увидите что-то вроде такого
f15d cd29 a564 4578 ...
09e2 9bc4 a696 1253 ...
84e9 4de1 3b23 c24a ...
2534 5161 28e0 709d ...
...
Это и есть записанные байтики. И для их чтения требуется определённый софт который знает что с ними делать. Под каждый тип файла.
К чему это я? Читайте в следующем посте...
#tricks#basic
Amalgam company has released a miniature copy of 🚘12Cilindri for the price of Nissan Versa
🏎 The copy of Ferrari 12Cilindri is made in 1:8 scale (length about 60 centimeters). Amalgam designers achieve a high similarity with the original by using the original documentation and the help of the manufacturer's engineers.
📸 The attention to detail is astounding. The miniature leather interior is decorated with red contrast stitching, just like the full-size car. The level of accuracy is so high that the model can be mistaken for the real thing in the photos.
⏳ Each car takes about 300 hours to assemble by hand. In total, Amalgam will produce 119 coupe models and the same number of roadsters.
👍 As for the real Ferrari 12Cilindri, this car replaces the 812 Superfast, continuing the tradition of V12-powered grand tourers.
💸 The price of the model starts at $18,220.
@CarsNews
#Ferrari#sportscar#models
🌿 Xalqaro amaliy seminar: “Yashil” kelajak sari modellar va nazarlar
“Yangi O‘zbekiston” universiteti HTWD Dresden (Germaniya), Myunxen texnika universiteti (Germaniya) va Nemis-Iordan (Iordaniya)universitetlaribilan hamkorlikda ikki kunlik xalqaro seminar tashkil etmoqda.
Seminar-treyningda O‘zsanoatqurilishbank, Osiyo taraqqiyot banki va IT Park dan mutaxassislar va ekspertlar ishtirok etishadi.
📅 Sana: 2025-yil 5–6-noyabr
📍 Manzil: “Yangi O‘zbekiston” universiteti
Seminar dasturi 5-noyabr kuni asosiy ma’ruzalar va panel muhokamasidan boshlanadi:
❕“Yashil biznes modellari va mas’uliyatli innovatsiyalar: global va mahalliy istiqbollar”.
6-noyabr kuni TUM International amaliy seminar o‘tkazadi:
💡“Ta’limdan harakatga: barqarorlik va tadbirkorlik ta’siri uchun ta’lim berish”.
‼️Ro‘yxatdan o‘tish 4-noyabrgacha davom etadi.
👉Seminarga ro‘yxatdan o‘tish
🔁English
➖➖➖➖➖➖➖➖➖➖
#workshop#greenfuture#models
⬇️Biz ijtimoiy tarmoqlarda:
Veb-sayt | Telegram | Instagram | Facebook
http://deeplearning.net/software/theano/tutorial/index.html#basics
In terms of #algorithm availability, you can get plenty of algorithms out of the box with scikit-learn. And if you want to customize every detail of your #models, #Python has #Theano. In addition, Theano is easily configured to run on the #GPU, which gives you a cheap and easy way to get much higher speeds without having to change a single line of code or delve into performance details.
#вакансия#middle#senior#python#dev#postgresql#ml#math#models#sql
Всем привет!
Мы Axenix (ex. Accenture) находимся в поисках Python Developer на проект разработки продукта In.Plan (платформа интегрированного планирования)
🔎 Мы ищем Middle/Senior Python Developer
Формат работы: гибрид, удаленка (РФ/Армения/Казахстан)
💰 обсуждается после тех. интервью
Чем предстоит заниматься:
🔸 Разработка решений для платформы интегрированного планирования производства
🔸 Участие в написании модулей прогнозирования спроса, календарного планирования и производственного планирования, модуля оптимизации складских запасов
🔸 Работа с PostgreSQL как источником данных. Задачи включают написание компонентов по чтению/записи данных из БД, обработке (очистка, проверка качества, сглаживание и т.д.) данных, формулировке задач мат. оптимизации для солверов, написание ML модулей для прогнозирования.
Здорово, если ты:
🔹 Знаешь алгоритмы и структуры данных
🔹 Имеешь опыт коммерческой разработки на Python
🔹 Понимаешь и применял нотации Big O для оценки сложности алгоритмов
🔹 Знаешь паттерны ООП и принципы проектирования вычислительных решений
🔹 Имеешь опыт написания тестов, понимание отличий и целей разных типов тестов
🔹 Имеешь опыт работы с SQL базами данных
🔹 Знаешь Git
Мы предлагаем:
▪️ Работу в Аккредитованной ИТ-компании
▪️ Конкурентоспособный уровень дохода, годовые бонусы и регулярное повышение по результатам Performance Review
▪️ Культуру непрерывного обучения: сертификация, online и offline обучение в России, менторство в профессиональном развитии;
▪️ ДМС с первого месяца работы, включая стоматологию, в лучших клиниках Москвы и МО для cотрудника и его семьи (жена/муж, дети до 18 лет);
▪️ Возможность оформления по ИП
Контакт для связи: @masha_axenix
✨The STAR method is a powerful technique used to answer behavioral interview questions effectively.
It helps structure responses by focusing on Situation, Task, Action, and Result. For analytics professionals, using the STAR method ensures that you demonstrate your problem-solving abilities, technical skills, and business acumen in a clear and concise way.
Here’s how the STAR method works, tailored for an analytics interview:
📍 1. Situation
Describe the context or challenge you faced. For analysts, this might be related to data challenges, business processes, or system inefficiencies. Be specific about the setting, whether it was a project, a recurring task, or a special initiative.
Example: “At my previous role as a data analyst at XYZ Company, we were experiencing a high churn rate among our subscription customers. This was a critical issue because it directly impacted revenue.”*
📍 2. Task
Explain the responsibilities you had or the goals you needed to achieve in that situation. In analytics, this usually revolves around diagnosing the problem, designing experiments, or conducting data analysis.
Example: “I was tasked with identifying the factors contributing to customer churn and providing actionable insights to the marketing team to help them improve retention.”*
📍 3. Action
Detail the specific actions you took to address the problem. Be sure to mention any tools, software, or methodologies you used (e.g., SQL, Python, data #visualization tools, #statistical#models). This is your opportunity to showcase your technical expertise and approach to problem-solving.
Example: “I collected and analyzed customer data using #SQL to extract key trends. I then used #Python for data cleaning and statistical analysis, focusing on engagement metrics, product usage patterns, and customer feedback. I also collaborated with the marketing and product teams to understand business priorities.”*
📍 4. Result
Highlight the outcome of your actions, especially any measurable impact. Quantify your results if possible, as this demonstrates your effectiveness as an analyst. Show how your analysis directly influenced business decisions or outcomes.
Example: “As a result of my analysis, we discovered that customers were disengaging due to a lack of certain product features. My insights led to a targeted marketing campaign and product improvements, reducing churn by 15% over the next quarter.”*
Example STAR Answer for an Analytics Interview Question:
Question: *"Tell me about a time you used data to solve a business problem."*
Answer (STAR format):
🔻*S*: “At my previous company, our sales team was struggling with inconsistent performance, and management wasn’t sure which factors were driving the variance.”
🔻*T*: “I was assigned the task of conducting a detailed analysis to identify key drivers of sales performance and propose data-driven recommendations.”
🔻*A*: “I began by collecting sales data over the past year and segmented it by region, product line, and sales representative. I then used Python for #statistical#analysis and developed a regression model to determine the key factors influencing sales outcomes. I also visualized the data using #Tableau to present the findings to non-technical stakeholders.”
🔻*R*: “The analysis revealed that product mix and regional seasonality were significant contributors to the variability. Based on my findings, the company adjusted their sales strategy, leading to a 20% increase in sales efficiency in the next quarter.”
Hope this helps you 😊