python venv

to install a module like numpy just: sudo apt install python3-numpy to run modules: python3 -m http.serverthis will creates an http server to create a virtual environment (because it would be better to use a venv than using system python and install your modules on system) pyton3 -m venv <name of venv or the path… Continue reading python venv

تقسیم

یک سوم آن پنجره، یک پنجم آن تخت یک هشتم آواز دلِ بلبل بدبخت تصویر فرو ماندن آیینه به گلدان احساس زمین خوردن برف لب ایوان یک سوم بوی خنک سفره‌ی کاشی احساس نهان در سبدِ خسته نباشی ده شعله از انبوه امید شب یک پیچه

تو قدر آب چه دانی

سَلِ المَصانعَ رَکباً تَهیمُ فی الفَلَواتِ تو قدرِ آب چه دانی که در کنارِ فراتی؟ شبم به رویِ تو روز است و دیده‌ها به تو روشن و اِن هَجَرتَ سَواءٌ عَشیَّتی و غَداتی اگر چه دیر بماندم امید برنگرفتم مَضَی الزَّمانُ و قلبی یَقولُ إِنَّکَ آتٍ من آدمی به جمالت نه دیدم و نه شنیدم… Continue reading تو قدر آب چه دانی

XGBoost to optimize the budget division and maximize the sales for each vendor product

we have a list of vendor-products with vendor discounts, and the historical data that shows each products with how much total discount sold in each vendor and vendor area, we have a limited budget to add on top to vendor discounts to sell the product better. please write a python code to optimize the budget… Continue reading XGBoost to optimize the budget division and maximize the sales for each vendor product

how to use data analytics in marketing insight

According to 1, data analytics can help improve decision making, marketing effectiveness, customer service and operational efficiency by providing insights into customer behavior, preferences, needs and expectations. Some of the ways to use data analytics in marketing insight are: data analysis can help Qcommerce companies to: some of the companies that use data analysis are:

polars join is so slow

If the join operation using polars is slow, there are some additional things you can try to improve performance: join_par is a method in Polars that performs a parallel join operation. Here’s how you can use it: The join_par method takes two arguments: the second dataframe to join and the join keys. In the example… Continue reading polars join is so slow