Analyst's Corner
Analyst's Corner
  • Видео 59
  • Просмотров 264 680
Zed Text Editor Setup
Settings files here: github.com/oscarito-taquito/yt-examples/tree/main/zed-editor
Set up your Zed Text Editor to do the following:
- Save your files when switching to another file
- Format your file on save
- Choose your theme
- Connect to Github's Copilot
- Create a key binding to execute your python scripts
Просмотров: 8 384

Видео

Leetcode SQL: 1581 Customer Visits not Transactions Explained
Просмотров 1255 месяцев назад
Leetcode SQL 1581: Counting Visits Without Transactions This SQL script is used to find out how many visits to a store did not result in a transaction. Let's break it down step-by-step: 1. *SELECT v.customer_id, COUNT(v.visit_id) AS count_no_trans:* - This part selects the `customer_id` from the `Visits` table (`v`). - It also counts the number of visits (`visit_id`) for each customer where no ...
197 Rising Temperature Explained
Просмотров 1975 месяцев назад
Leetcode SQL: Question 197 Rising Temperature This SQL script is used to find days when the temperature was higher than the previous day. Let's break it down step-by-step: SELECT w2.id: This part selects the id from the table Weather. The id likely represents a unique identifier for each weather record. FROM Weather w1 INNER JOIN Weather w2 ON w1.recordDate = w2.recordDate - 1: This joins the W...
Leetcode SQL: Not Boring Movies Explained
Просмотров 566 месяцев назад
*Leetcode SQL: # 620 Filtering and Sorting Movies* This SQL script is used to find and sort movies from a cinema database. Let’s break it down step-by-step: 1. SELECT * FROM Cinema: - This part selects all columns (*) from the `Cinema` table. The `Cinema` table likely contains information about different movies, such as their descriptions, ratings, and unique IDs. 2. WHERE description != 'borin...
Leetcode SQL: Confirmation Rate Walkthrough
Просмотров 986 месяцев назад
Leetcode SQL: Confirmation Rate Question Walkthrough This SQL script calculates the confirmation rate for user signups. Let's break it down step-by-step: WITH t AS (...): This part creates a temporary table named t that holds specific data for later use. SELECT s.user_id, ... FROM Signups s LEFT JOIN Confirmations c ON s.user_id = c.user_id: This line selects the user_id from the Signups table ...
Leetcode SQL: managers with 5 reports - explained #sql #leetcode
Просмотров 666 месяцев назад
From Leetcode: Explanation and opinion on Leetcode's Manager with 5 Direct Reports question. Write a solution to find managers with at least five direct reports. Return the result table in any order. The result format is in the following example. Table: Employee | Column Name | Type | | id | int | | name | varchar | | department | varchar | | managerId | int | id is the primary key (column with...
Creating Cohort Retention Pivot Charts with Python: Data Visualization Tutorial
Просмотров 136Год назад
*Code: Github:* github.com/oscarito-taquito/yt-examples/blob/main/charts/cohort-pivot.py Free uDemy Courses: www.udemy.com/user/oscar-2330/ Buy me a coffee: buymeacoffee.com/oscarito Affiliate Savings: analystscorner.net/affiliates.html This Python code is designed to create a cohort retention pivot chart using table data. It utilizes libraries such as pandas, matplotlib, and seaborn. The code ...
find files using python
Просмотров 68Год назад
find files using python
Leet Code Two Sum Solved with Python - Code Linked in Description
Просмотров 94Год назад
Leet Code Two Sum Solved with Python - Code Linked in Description
Word Length and Paragraph Word Length Counter
Просмотров 83Год назад
Word Length and Paragraph Word Length Counter
renaming folders and moving files in S3 using python
Просмотров 1,7 тыс.Год назад
renaming folders and moving files in S3 using python
Delete files based on modified date using Python
Просмотров 663Год назад
Delete files based on modified date using Python
pandas drop duplicates explained
Просмотров 2222 года назад
pandas drop duplicates explained
Moving files in Python using the os and shutil modules
Просмотров 1,6 тыс.2 года назад
Moving files in Python using the os and shutil modules
Add Text Color to Python Terminal Programs
Просмотров 4,6 тыс.2 года назад
Add Text Color to Python Terminal Programs
Word Counter using Python Dictionary
Просмотров 13 тыс.2 года назад
Word Counter using Python Dictionary
Deleting Bucket an S3 using Python
Просмотров 3322 года назад
Deleting Bucket an S3 using Python
Delete Files from S3 using Python
Просмотров 3,9 тыс.2 года назад
Delete Files from S3 using Python
Download File from S3 using Python
Просмотров 8 тыс.2 года назад
Download File from S3 using Python
Create subfolders in S3 bucket with Python
Просмотров 4,5 тыс.2 года назад
Create subfolders in S3 bucket with Python
Create Bucket S3 using Python
Просмотров 5012 года назад
Create Bucket S3 using Python
Connect and List S3 Buckets using Python
Просмотров 3,1 тыс.2 года назад
Connect and List S3 Buckets using Python
AWS S3 Console Navigation
Просмотров 1382 года назад
AWS S3 Console Navigation
Store your AWS Keys
Просмотров 3202 года назад
Store your AWS Keys
Prerequisites for working with AWS and Python
Просмотров 562 года назад
Prerequisites for working with AWS and Python
Create Group User and Access Keys in AWS
Просмотров 4342 года назад
Create Group User and Access Keys in AWS
Upload a file to S3 using Python
Просмотров 9 тыс.2 года назад
Upload a file to S3 using Python
Python Walrus := operator
Просмотров 6563 года назад
Python Walrus := operator
setting up environment variables
Просмотров 9354 года назад
setting up environment variables
Getting Full Directory Path in Python
Просмотров 27 тыс.4 года назад
Getting Full Directory Path in Python

Комментарии

  • @donaldandmijung
    @donaldandmijung 14 дней назад

    does this work for large video files also or do they need to downloaded in segments?

    • @AnalystsCorner
      @AnalystsCorner 9 дней назад

      I’ve downloaded a few hundred megs, but don’t think I’ve gone past a gig. I think files are only segmented when they are loaded to S3 tho. Lmk what you find out.

  • @Cheeseitz1101
    @Cheeseitz1101 14 дней назад

    how do i put it into terminal

    • @AnalystsCorner
      @AnalystsCorner 9 дней назад

      Save the script to a file, cd into the directory and type “python your-file.py”.

  • @ventacode
    @ventacode Месяц назад

    Thanks bud, I am using fedora by the way - and trying to find out alternative text editors on rust and it really helped.

  • @ayushthantharate28
    @ayushthantharate28 Месяц назад

    Cant be submitted as 13/15 test cases passed

  • @LePainQuiFaitDesMaths
    @LePainQuiFaitDesMaths 2 месяца назад

    hi dude, you've removed the settings.json file from your GitHub repo, any chance you could add it back there please ?

  • @BatchBot
    @BatchBot 3 месяца назад

    Tysm!

  • @bongotsav7535
    @bongotsav7535 3 месяца назад

    thanks for the walkthrough! i have an additional request.. suppose we have data headers like[Title, Actor1,Actor2,Actor3,Age1,Age2,Age3] and I want the pivot to have first column as 'Title' second column as 'Actor' and third one as Age. and Actor1 corresponds to Age1 and Actor2 to Age2.. can you please suggest something on this?

    • @AnalystsCorner
      @AnalystsCorner 3 месяца назад

      check out this code: github.com/oscarito-taquito/yt-examples/blob/main/pandas/pivot-expanded.py

  • @deepakpatnaik8457
    @deepakpatnaik8457 3 месяца назад

    you make it 10x more confusing by including virtual environments

    • @AnalystsCorner
      @AnalystsCorner 3 месяца назад

      Good call out. I can see where beginners are going to use the default Python installation. Thanks.

  • @I_personally_womanizer
    @I_personally_womanizer 3 месяца назад

    thanks

  • @wildthreshold
    @wildthreshold 3 месяца назад

    I'm almost nostalgic for the time of notepad++ or pure vi 😅 so far traveled since then

  • @malleshkr1436
    @malleshkr1436 4 месяца назад

    Which theme are you using?

  • @youtube.user.1234
    @youtube.user.1234 4 месяца назад

    What font are you using?

    • @AnalystsCorner
      @AnalystsCorner 4 месяца назад

      One Dark theme. The font is Zed Plex Mono.

  • @sanowl4789
    @sanowl4789 4 месяца назад

    the problem with zed is thet u have to add the env files everytime

  • @Mosswolf167
    @Mosswolf167 4 месяца назад

    dude you are the best!!!!!!!!! i almost quit python bcuz i didnt know how to do this thing!!!!!! i was sitting there for atleast5 hours trying to figure it out!!!! can you also like put the code in the commentaries????77??

    • @AnalystsCorner
      @AnalystsCorner 4 месяца назад

      Thank you for the feedback and yes, I will begin adding links to the code on GitHub in the comments. Thanks for the suggestion.

  • @jamesrushton3368
    @jamesrushton3368 5 месяцев назад

    thrnk yio

  • @anox420
    @anox420 5 месяцев назад

    I know you needed me:--- in task.json file :- "command": "sh ~/.config/zed/custom_runfile.sh", rather then "sh" use "bash" Thanks me later....

  • @AnalystsCorner
    @AnalystsCorner 5 месяцев назад

    github: github.com/oscarito-taquito/yt-examples/tree/main/zed-editor YT Full Vid: ruclips.net/video/m2UrCwf6gms/видео.html

    • @Singlton
      @Singlton 4 месяца назад

      How to configure its settings to act like rustrover IDE?

  • @rare2b
    @rare2b 5 месяцев назад

    i cant find the website, python to do it. please help im new at this

    • @AnalystsCorner
      @AnalystsCorner 5 месяцев назад

      here is the code below. you can use a notebook on colab.google.com to copy and paste the code below and run it if you are having problems doing it on your computer. sentence = """A horse is a horse, of course, of course, And no one can talk to a horse of course, That is, of course, unless the horse is the famous Mr. Ed.""" sentence = sentence.replace(',', '').lower().split() wc = {} for word in sentence: if word in wc.keys(): wc[word] += 1 else: wc[word] = 1 print(wc)

  • @bilalidris7261
    @bilalidris7261 5 месяцев назад

    Very simple and helpful.

  • @AnalystsCorner
    @AnalystsCorner 6 месяцев назад

    Code Here: github.com/oscarito-taquito/yt-examples/blob/main/other-libs/icecream-examples.py

  • @alirezamohseni5045
    @alirezamohseni5045 6 месяцев назад

    thank you, that was usefull

  • @kristnajohanna
    @kristnajohanna 9 месяцев назад

    🎉

  • @MrNess2911
    @MrNess2911 9 месяцев назад

    Valuable code!

  • @tintincr1
    @tintincr1 11 месяцев назад

    I truly appreciate the effort you put into creating such valuable content. Your expertise and clear explanations have helped me grasp the concepts effortlessly.

  • @PillsLifestyleReviews
    @PillsLifestyleReviews Год назад

    Oh Gawd I needed this. Thank You!!!

  • @zaheerbeg4810
    @zaheerbeg4810 Год назад

    Can you share AWS related configuration, I mean , permission, properties and all

  • @Fact02-e9x
    @Fact02-e9x Год назад

    Hi I have seen your RUclips channel :(Analyst's Corner) .Your channel is absolutely important for the viewers & your videos are fine. You have uploaded videos- 46 but you are not getting enough subscribers. Your subscribers are only- 799 What’s the reason you are not getting more subscribers & views? 1) SEO Score not good 0/100. It’s must need minimum 80+ 2) Video Tags & Channel Tags weren't used properly. You need more analysis & optimisation properly. 3) You didn't share your video in Facebook. 4) You don't have End Screen. 5) Need perfect video SEO for your channel. What benefit will you get from proper video SEO? Your Channel Subscribers will increase organically. Your Channel video views will increase organically. Your Channel watch time will increase rapidly. You will get your potential & targeted viewers. Your Channel will be monetized by RUclips. Are you thinking the same as me? Waiting for your reply. Thank you so much.

  • @harishbagran6052
    @harishbagran6052 Год назад

    Many many many thanks... Was trying to do this with for loop and it was taking a lot of time... This really saved my life... Thank you once again ❤

  • @patrick8017
    @patrick8017 Год назад

    This is super helpful. Thanks

  • @Clients_Meeting
    @Clients_Meeting Год назад

    I saw your RUclips channel. Your content is unique and really amazing but channel growth is very poor. I noticed that your video SEO score is 0/100. Your video SEO score should be increase (at least 50 plus). Just need to customize your channel and video, especially need optimize with high quality SEO.

    • @AnalystsCorner
      @AnalystsCorner Год назад

      Thank you for the feedback! I did not know this about my video SEO score. 😯 If you have know of any materials I can read to learn more, lmk. If not, the heads up was gold. Thanks!

  • @dxrkinfinite5578
    @dxrkinfinite5578 Год назад

    Wait how did u put the list in the dictionary like how did those even connect?

    • @AnalystsCorner
      @AnalystsCorner Год назад

      great question. the .split() function placed the entire text into a list. Then with the for loop, we iterated through every word in that list. If the word did not exist as a key, then we add that word as a key and set the value to 1. If the word did exist (as a key), then we add 1 to the existing value.

  • @artofadval
    @artofadval Год назад

    thanks

  • @AnalystsCorner
    @AnalystsCorner Год назад

    Github: github.com/oscarito-taquito/yt-examples/blob/main/open-ai/connecting-to-openai-chat.py

  • @crmn_hwr
    @crmn_hwr Год назад

    what is the pip install for your modules?

    • @AnalystsCorner
      @AnalystsCorner Год назад

      I'm not using any modules/libraries. I just created one with a set of colors. This is what's imported in the example: github.com/oscarito-taquito/yt-examples/blob/main/modules/text_colors.py Also, the code file moved to: github.com/oscarito-taquito/yt-examples/blob/main/general/terminal_text.py

    • @crmn_hwr
      @crmn_hwr Год назад

      @@AnalystsCorner thank you

    • @AnalystsCorner
      @AnalystsCorner Год назад

      @crmn_hwr anytime!

  • @BicMitchum-e7d
    @BicMitchum-e7d Год назад

    Say i wanted to create a subfolder dynamically for a user where all the users files will be uploaded to that specific subfolder. Is that possible with this?

    • @BicMitchum-e7d
      @BicMitchum-e7d Год назад

      And will the user be able to delete files from the subfolder without deleting the entire subfolder?

  • @Postulatedstate
    @Postulatedstate Год назад

    Now show us how to do it from within a loop via a list of files (dir) shutil

  • @Postulatedstate
    @Postulatedstate Год назад

    Already like it. Clear video concise code snippet ready good to go

  • @moussalimam8228
    @moussalimam8228 Год назад

    Thank you 🙏

  • @candy_curlz9492
    @candy_curlz9492 Год назад

    Bro my python file is in another folder I want to get location like if I search for chrome.exe it should give the location like wise if I search word.exe it should give full location help me bro

    • @AnalystsCorner
      @AnalystsCorner Год назад

      If you are on Linux or Mac, you can do something like import subprocess subprocess.run([“find /home -name chrome.exe”], shell=True) Change the “/home” to whichever directory you want to start at. If you’re on Windows, lmk. I don’t have Windows but I think I can code something up for you that will work. It will just be more lines of code.

    • @candy_curlz9492
      @candy_curlz9492 Год назад

      Yeah I'm on windows

    • @AnalystsCorner
      @AnalystsCorner Год назад

      Cool, check this out. Code in the description of video. Hope this works! ruclips.net/video/BhtFQPmjw4I/видео.html

  • @kelvinhardyjr9498
    @kelvinhardyjr9498 Год назад

    What if I am looking for a specific word?

    • @AnalystsCorner
      @AnalystsCorner Год назад

      Great question. Instead of using the for loop, you can use and if statement and check if your word is in the “sentence” list of words For example: myword = ‘donut’ If myword in sentence: do something

  • @sadkchris9785
    @sadkchris9785 Год назад

    If I delete just the example folder, will the other files that in the example folder be deleted?

    • @AnalystsCorner
      @AnalystsCorner Год назад

      Great question. The answer is no and your folder may not even delete. Folders like files are considered objects too, but they will have a size of 0. So that’s how you’ll be able to single them out when you need to or they share the same name as a file.

    • @sadkchris9785
      @sadkchris9785 Год назад

      @@AnalystsCorner thanks.

  • @Frutilad665
    @Frutilad665 Год назад

    im new to python, came from frontend, so your video was very helpful, thanks!

  • @LearnEnglishThrough_Podcast
    @LearnEnglishThrough_Podcast Год назад

  • @LuisLopez-sc1qc
    @LuisLopez-sc1qc Год назад

    Gracias vídeos así directo al punto y con casos que se hacen en excel fácil hacerlo también sin tanto código directo al asunto . Gracias

  • @artofadval
    @artofadval Год назад

    Nice

  • @aparajitabhowmik4353
    @aparajitabhowmik4353 Год назад

    but how did u connect to S3

    • @AnalystsCorner
      @AnalystsCorner Год назад

      Good question, You will want to make sure you store your AWS Keys. See: ruclips.net/video/4K05E0gHC3E/видео.html for Mac & Linux.

  • @jimbov4720
    @jimbov4720 Год назад

    thanks for this

  • @eyesopen6110
    @eyesopen6110 Год назад

    What if you using remote ssh into a windows server..

    • @AnalystsCorner
      @AnalystsCorner Год назад

      If you are remoting into a Windows machine, you can 1. Relaunch VS Code via Run 2. Restart Server Before doing that, be sure to ensure your environment variables are set correctly. docs.oracle.com/en/database/oracle////machine-learning/oml4r/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html

  • @henrikmader949
    @henrikmader949 Год назад

    Great Video. That helped a lot.

  • @thCharenchaitk
    @thCharenchaitk Год назад

    youtu.be/iolQX4XJ=42