Prerequisites A user account with sudo privileges Access to a command line/terminal window (Ctrl-Alt-T) Steps For Installing Anaconda Our tutorial on installing Anaconda on Ubuntu 18.04 or Ubuntu 20.04 includes downloading the latest version, verifying data integrity of the installer, and running the bash install script. Step 1: Update Local Package Manager Start by updating the local… Continue reading How to Install Anaconda on Ubuntu
Category: Programming
میانبر Visual Studio
مرتب کردن کدها CRTL + K + D کامنت دستورات انتخاب شده CTRL+K+C آنکامنت دستورات انتخاب شده CTRL+K+U بالا و پایین کردن یک خط کد ALT+up/down برگشتن کرسر سر جای قبلی CTRL + – بالای صفحه کلید رفتن به خط تعریف F12 یا CTRL + کلیک منوی Quick Action روی لاین خطا: CTRL + .… Continue reading میانبر Visual Studio
گرفتن قیمت یورو چندسال گذشته
از سایت بن بست با پایتون نتیجه رو میتونید از این آدرس بردارید که تا این تاریخ داخلش هست. امتحان کانکشن گرفتن مقادیر با تاریخ شمسی میتونید از این آدرس جدول تبدیل تاریخ میلادی به شمسی رو بردارید خروجی اکسل
Some Pandas sample Codes
Orders = df[[‘OrderID’,’VendorID’,’ShamsiYearMonth’,’CustomerID’,’NthCustomerOrder’]].dropna().reset_index()
Orders.drop(columns = ‘index’ , inplace = True)
Orders.drop_duplicates(keep=’first’,inplace= True , ignore_index=True)
Get value from next row in pandas dataframe
use the Shift() function with groupby!
5 ways to apply an IF condition in pandas DataFrame
from Need to apply an IF condition in Pandas DataFrame? If so, in this tutorial, you’ll see 5 different ways to apply such a condition. Specifically, you’ll see how to apply an IF condition for: Set of numbers Set of numbers and lambda Strings Strings and lambada OR condition Applying an IF condition in Pandas DataFrame… Continue reading 5 ways to apply an IF condition in pandas DataFrame
دستورات اولیه گیت
منبع منبع اصلی راه اندازه git commit مهمترین دستور گیت. بعد از اینکه تغییرات مختلفی را اعمال کردید، این دستور را برای گرفتن یک اسنپشات از مخزن وارد میکنید. معمولا به این شکل استفاده میشود: -mتعیین میکند که قسمت بعدی دستور به عنوان پیام در نظر گرفته شود. git branch این دستور به شما اجازه… Continue reading دستورات اولیه گیت
شروع با گیت
منبع منبع اصلی در حال حاضر گیت یکی از محبوبترین سیستمهای کنترل نسخه در بین توسعهدهندگان است. میتوانید با استفاده از گیت تغییرات را دنبال کنید و پروژهها را با چندین توسعهدهنده دیگر هماهنگ نمایید. پروژههای متن باز نیست اکثرا از گیت استفاده میکنند، میتوانید آنها را روی گیتهاب، گیتلب و یا Bitbucket مشاهده کنید.… Continue reading شروع با گیت
Practical RFM analysis to increase repeat sales
from This method as the easiest way to visualize the behavior of the clients is important. Numbers mean nothing if they do not change our actions tomorrow.Twit it This time I will share with you the experience and tips how to benefit from RFM even without a three-year sales history. We provided the RFM… Continue reading Practical RFM analysis to increase repeat sales
pandas groupby
تفاوتهای ۵ تابع اصلی در پایتون پانداس در این پست با مثال توضیح داده شدهاند.