Python | Machine Learning | Coding | R
67.4K subscribers
1.25K photos
89 videos
153 files
907 links
Help and ads: @hussein_sheikho

Discover powerful insights with Python, Machine Learning, Coding, and R—your essential toolkit for data-driven solutions, smart alg

List of our channels:
https://t.iss.one/addlist/8_rRW2scgfRhOTc0

https://telega.io/?r=nikapsOH
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
Over the last year, several articles have been written to help candidates prepare for data science technical interviews. These resources cover a wide range of topics including machine learning, SQL, programming, statistics, and probability.

1️⃣ Machine Learning (ML) Interview
Types of ML Q&A in Data Science Interview
https://shorturl.at/syN37

ML Interview Q&A for Data Scientists
https://shorturl.at/HVWY0

Crack the ML Coding Q&A
https://shorturl.at/CDW08

Deep Learning Interview Q&A
https://shorturl.at/lHPZ6

Top LLMs Interview Q&A
https://shorturl.at/wGRSZ

Top CV Interview Q&A [Part 1]
https://rb.gy/51jcfi

Part 2
https://rb.gy/hqgkbg

Part 3
https://rb.gy/5z87be

2️⃣ SQL Interview Preparation
13 SQL Statements for 90% of Data Science Tasks
https://rb.gy/dkdcl1

SQL Window Functions: Simplifying Complex Queries
https://t.ly/EwSlH

Ace the SQL Questions in the Technical Interview
https://lnkd.in/gNQbYMX9

Unlocking the Power of SQL: How to Ace Top N Problem Questions
https://lnkd.in/gvxVwb9n

How To Ace the SQL Ratio Problems
https://lnkd.in/g6JQqPNA

Cracking the SQL Window Function Coding Questions
https://lnkd.in/gk5u6hnE

SQL & Database Interview Q&A
https://lnkd.in/g75DsEfw

6 Free Resources for SQL Interview Preparation
https://lnkd.in/ghhiG79Q

3️⃣ Programming Questions
Foundations of Data Structures [Part 1]
https://lnkd.in/gX_ZcmRq

Part 2
https://lnkd.in/gATY4rTT

Top Important Python Questions [Conceptual]
https://lnkd.in/gJKaNww5

Top Important Python Questions [Data Cleaning and Preprocessing]
https://lnkd.in/g-pZBs3A

Top Important Python Questions [Machine & Deep Learning]
https://lnkd.in/gZwcceWN

Python Interview Q&A
https://lnkd.in/gcaXc_JE

5 Python Tips for Acing DS Coding Interview
https://lnkd.in/gsj_Hddd

4️⃣ Statistics
Mastering 5 Statistics Concepts to Boost Success
https://lnkd.in/gxEuHiG5

Mastering Hypothesis Testing for Interviews
https://lnkd.in/gSBbbmF8

Introduction to A/B Testing
https://lnkd.in/g35Jihw6

Statistics Interview Q&A for Data Scientists
https://lnkd.in/geHCCt6Q

5️⃣ Probability
15 Probability Concepts to Review [Part 1]
https://lnkd.in/g2rK2tQk

Part 2
https://lnkd.in/gQhXnKwJ

Probability Interview Q&A [Conceptual Questions]
https://lnkd.in/g5jyKqsp

Probability Interview Q&A [Mathematical Questions]
https://lnkd.in/gcWvPhVj

🔜 All links are available in the GitHub repository:
https://lnkd.in/djcgcKRT

#DataScience #InterviewPrep #MachineLearning #SQL #Python #Statistics #Probability #CodingInterview #AIBootcamp #DeepLearning #LLMs #ComputerVision #GitHubResources #CareerInDataScience


✉️ Our Telegram channels: https://t.iss.one/addlist/0f6vfFbEMdAwODBk

📱 Our WhatsApp channel: https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
Please open Telegram to view this post
VIEW IN TELEGRAM
11👍2💯2
Please open Telegram to view this post
VIEW IN TELEGRAM
16👍3🎉1
import pandas as pd
df1 = pd.DataFrame({'val1': [1, 2]}, index=['A', 'B'])
df2 = pd.DataFrame({'val2': [3, 4]}, index=['A', 'B'])
joined = df1.join(df2)
print(joined)

val1  val2
A 1 3
B 2 4


#59. pd.get_dummies()
Converts categorical variable into dummy/indicator variables (one-hot encoding).

import pandas as pd
s = pd.Series(list('abca'))
dummies = pd.get_dummies(s)
print(dummies)

a  b  c
0 1 0 0
1 0 1 0
2 0 0 1
3 1 0 0


#60. df.nlargest()
Returns the first n rows ordered by columns in descending order.

import pandas as pd
df = pd.DataFrame({'population': [100, 500, 200, 800]})
print(df.nlargest(2, 'population'))

population
3 800
1 500

---
#DataAnalysis #NumPy #Arrays

Part 6: NumPy - Array Creation & Manipulation

#61. np.array()
Creates a NumPy ndarray.

import numpy as np
arr = np.array([1, 2, 3])
print(arr)

[1 2 3]


#62. np.arange()
Returns an array with evenly spaced values within a given interval.

import numpy as np
arr = np.arange(0, 5)
print(arr)

[0 1 2 3 4]


#63. np.linspace()
Returns an array with evenly spaced numbers over a specified interval.

import numpy as np
arr = np.linspace(0, 10, 5)
print(arr)

[ 0.   2.5  5.   7.5 10. ]


#64. np.zeros()
Returns a new array of a given shape and type, filled with zeros.

import numpy as np
arr = np.zeros((2, 3))
print(arr)

[[0. 0. 0.]
[0. 0. 0.]]


#65. np.ones()
Returns a new array of a given shape and type, filled with ones.

import numpy as np
arr = np.ones((2, 3))
print(arr)

[[1. 1. 1.]
[1. 1. 1.]]


#66. np.random.rand()
Creates an array of the given shape and populates it with random samples from a uniform distribution over [0, 1).

import numpy as np
arr = np.random.rand(2, 2)
print(arr)

[[0.13949386 0.2921446 ]
[0.52273283 0.77122228]]
(Note: Output values will be random)


#67. arr.reshape()
Gives a new shape to an array without changing its data.

import numpy as np
arr = np.arange(6)
reshaped_arr = arr.reshape((2, 3))
print(reshaped_arr)

[[0 1 2]
[3 4 5]]


#68. np.concatenate()
Joins a sequence of arrays along an existing axis.

import numpy as np
a = np.array([[1, 2]])
b = np.array([[3, 4]])
print(np.concatenate((a, b), axis=0))

[[1 2]
[3 4]]


#69. np.vstack()
Stacks arrays in sequence vertically (row wise).

import numpy as np
a = np.array([1, 2])
b = np.array([3, 4])
print(np.vstack((a, b)))

[[1 2]
[3 4]]


#70. np.hstack()
Stacks arrays in sequence horizontally (column wise).

import numpy as np
a = np.array([1, 2])
b = np.array([3, 4])
print(np.hstack((a, b)))

[1 2 3 4]

---
#DataAnalysis #NumPy #Math #Statistics

Part 7: NumPy - Mathematical & Statistical Functions

#71. np.mean()
Computes the arithmetic mean along the specified axis.

import numpy as np
arr = np.array([1, 2, 3, 4, 5])
print(np.mean(arr))

3.0


#72. np.median()
Computes the median along the specified axis.

import numpy as np
arr = np.array([1, 2, 3, 4, 5])
print(np.median(arr))

3.0


#73. np.std()
Computes the standard deviation along the specified axis.