fa
Feedback
Python Resources - Basic Python, ML, DataScience, BigData

Python Resources - Basic Python, ML, DataScience, BigData

رفتن به کانال در Telegram

You can find all kinds of resources related to Python, ML, DataScience and BigData. Resources — »»» @python_resources_iGnani Projects — »»» @python_projects_repository Questions— »»» @python_interview_questions Forum — »»» @python_programmers_club

نمایش بیشتر
کشور مشخص نشده استفناوری و برنامه‌ها28 376
3 068
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
اطلاعاتی وجود ندارد30 روز

در حال بارگیری داده...

کانال‌های مشابه
ابر برچسب‌ها
هیچ داده‌ای
مشکلی وجود دارد؟ لطفاً صفحه را تازه کنید یا با مدیر پشتیبانی ما تماس بگیرید.
اشارات ورودی و خروجی
---
---
---
---
---
---
جذب مشترکین
ژانویه '24
ژانویه '24
+18
در 0 کانال‌ها
دسامبر '230
در 0 کانال‌ها
Get PRO
نوامبر '230
در 0 کانال‌ها
Get PRO
اکتبر '230
در 0 کانال‌ها
Get PRO
سپتامبر '23
+46
در 0 کانال‌ها
Get PRO
اوت '23
+73
در 0 کانال‌ها
Get PRO
ژوئیه '23
+68
در 0 کانال‌ها
Get PRO
ژوئن '23
+86
در 0 کانال‌ها
Get PRO
مه '23
+85
در 0 کانال‌ها
Get PRO
آوریل '23
+90
در 0 کانال‌ها
Get PRO
مارس '23
+100
در 0 کانال‌ها
Get PRO
فوریه '23
+100
در 0 کانال‌ها
Get PRO
ژانویه '23
+108
در 0 کانال‌ها
Get PRO
دسامبر '22
+106
در 0 کانال‌ها
Get PRO
نوامبر '22
+120
در 0 کانال‌ها
Get PRO
اکتبر '22
+112
در 0 کانال‌ها
Get PRO
سپتامبر '22
+114
در 0 کانال‌ها
Get PRO
اوت '22
+166
در 0 کانال‌ها
Get PRO
ژوئیه '220
در 0 کانال‌ها
Get PRO
ژوئن '220
در 0 کانال‌ها
Get PRO
مه '22
+13
در 0 کانال‌ها
Get PRO
آوریل '22
+300
در 0 کانال‌ها
Get PRO
مارس '220
در 0 کانال‌ها
Get PRO
فوریه '220
در 0 کانال‌ها
Get PRO
ژانویه '220
در 0 کانال‌ها
Get PRO
دسامبر '210
در 0 کانال‌ها
Get PRO
نوامبر '21
+29
در 0 کانال‌ها
Get PRO
اکتبر '21
+85
در 0 کانال‌ها
Get PRO
سپتامبر '21
+111
در 0 کانال‌ها
Get PRO
اوت '21
+86
در 0 کانال‌ها
Get PRO
ژوئیه '21
+107
در 0 کانال‌ها
Get PRO
ژوئن '21
+94
در 0 کانال‌ها
Get PRO
مه '21
+86
در 0 کانال‌ها
Get PRO
آوریل '21
+81
در 0 کانال‌ها
Get PRO
مارس '21
+89
در 0 کانال‌ها
Get PRO
فوریه '21
+71
در 0 کانال‌ها
Get PRO
ژانویه '21
+42
در 0 کانال‌ها
Get PRO
دسامبر '20
+1 455
در 0 کانال‌ها
پست‌های کانال
Do leave your details here. I will share the training mode and schedule soon. Since training is not my profession and am doing it just as a give back to the community, there won't be fixed schedule, but will keep you all posted in advance. Join this (https://discord.com/channels/1091646956411048018/1111572581397565450) discord community channel.

2
I am planning to conduct a free training session for Azure Databricks, DataFactory & PySpark. Let me know if you are interested.
0
3
PyTip for the day: \_#else clause Use the "*else_" clause in a loop to handle cases where the loop finishes normally (without a "brea*k" statement). When using a "for" or "while" loop in Python, you may sometimes need to handle the case where the loop completes normally, without encountering a "break" statement. In this case, you can use the "else" clause in your loop to execute a block of code after the loop finishes. Here's an example: Use the "else" clause to print a message if a prime number is found for num in range(10, 20): for i in range(2, num): if num % i == 0: break else: print(f"{num} is a prime number!") In this example, we use a nested loop to check if each number in the range from 10 to 19 is prime. If a factor is found for a number, we use a "break" statement to exit the inner loop early. However, if the inner loop completes normally without a "break" statement, the "else" block is executed, which prints a message indicating that the number is prime. Using the "else" clause in a loop can be a powerful way to add extra logic to your code, and can help you handle complex control flow scenarios more elegantly.
0
4
بدون متن...
0
5
PyTip for the day: #f-strings Use f-strings for string interpolation and formatting. f-strings are a relatively new feature in Python 3.6 and later that allow you to embed expressions inside string literals, using a syntax that is similar to string formatting. f-strings make it easy to create strings that include variables or other expressions, without having to use cumbersome string concatenation or formatting syntax. Here's an example: Use an f-string to embed a variable inside a string name = "John" age = 30 print(f"My name is {name} and I am {age} years old.") In this example, we use an f-string to embed the "name" and "age" variables inside a string, using curly braces and a preceding "f" character. The resulting string includes the values of the variables, which are evaluated at runtime. f-strings can also include expressions, function calls, and even inline loops or conditionals, making them a powerful tool for string manipulation and formatting. When used correctly, f-strings can make your code more readable, more concise, and easier to maintain.
0
6
PyTip for the day: Use generators to create lazy sequences of data. Generators are a powerful feature in Python that allow you to create lazy sequences of data. A generator is a function that returns an iterator, which can be used to generate a sequence of values on the fly, without having to create a list or other data structure to hold all the values in memory at once. Here's an example: Define a generator that generates a sequence of Fibonacci numbers def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b # Use the generator to generate a sequence of Fibonacci numbers fib = fibonacci() for i in range(10): print(next(fib)) In this example, we define a generator called "fibonacci" that generates an infinite sequence of Fibonacci numbers. We then use the "next" function to generate the first 10 numbers in the sequence. Generators can be useful when you need to generate a large sequence of data, but you don't want to store all the data in memory at once. They can also be combined with other features in Python, such as list comprehensions or the "itertools" module, to create more complex sequences of data.
0
7
PyTip for the day: To modify the behavior of functions in Python, use decorators. Decorators are a powerful feature that take a function or method as an argument and return a new function with added functionality. Here's an example: Define a decorator that adds logging to a function def add_logging(func): def wrapper(*args, **kwargs): print(f"Calling {func.__name__} with args={args}, kwargs={kwargs}") return func(*args, **kwargs) return wrapper # Use the decorator to add logging to a function @add_logging def greet(name): return f"Hello, {name}!" # Call the function with logging result = greet("John") print(result) In this example, we define a decorator called add_logging that takes a function as its argument and returns a new function that adds logging before and after calling the original function. We then use the @ syntax to apply the decorator to the greet function, which adds logging to the function when it is called.
0
8
PyTip for the day: Use the "enumerate" function to iterate over a sequence and get the index of each element. Sometimes when you're iterating over a list or other sequence in Python, you need to keep track of the index of the current element. One way to do this is to use a counter variable and increment it on each iteration, but this can be tedious and error-prone. A better way to get the index of each element is to use the built-in "enumerate" function. The "enumerate" function takes an iterable (such as a list or tuple) as its argument and returns a sequence of (index, value) tuples, where "index" is the index of the current element and "value" is the value of the current element. Here's an example: Iterate over a list of strings and print each string with its index strings = ['apple', 'banana', 'cherry', 'date'] for i, s in enumerate(strings): print(f"{i}: {s}") In this example, we use the "enumerate" function to iterate over a list of strings. On each iteration, the "enumerate" function returns a tuple containing the index of the current string and the string itself. We use tuple unpacking to assign these values to the variables "i" and "s", and then print out the index and string on a separate line. The output of this code would be: apple 1: banana 2: cherry 3: date Using the "enumerate" function can make your code more concise and easier to read, especially when you need to keep track of the index of each element in a sequence.
0
9
PyTip for the day: `with` statement Use the "with" statement to automatically close files after reading or writing data. When working with files in Python, it's important to remember to close the file after you're done with it. If you don't close the file, it can lead to data loss or other errors. One way to ensure that your files are always closed properly is to use the "with" statement. The "with" statement automatically closes the file for you when you're done with it, even if an error occurs. Here's an example: # Open a file and read its contents using the "with" statement with open('myfile.txt', 'r') as file: data = file.read() print(data) In this example, we use the "with" statement to open a file named "myfile.txt" for reading. We read the contents of the file using the file.read() method and print it to the console. When the block of code inside the "with" statement is finished executing, the file is automatically closed. You can also use the "with" statement for writing to files, like this: # Open a file and write some data to it using the "with" statement with open('myfile.txt', 'w') as file: file.write('Hello, world!') In this example, we use the "with" statement to open a file named "myfile.txt" for writing. We write the string "Hello, world!" to the file using the file.write() method. When the block of code inside the "with" statement is finished executing, the file is automatically closed. Using the "with" statement is a good habit to get into when working with files in Python, as it helps to ensure that your files are always closed properly and that your data is safe.
0
10
PyTip for the day: List comprehension, with more examples: Check out previous tip to begin with. Use list comprehension to create a new list based on an existing list with minimal code. List comprehension is a concise and readable way to create a new list by transforming or filtering an existing list. It can make your code more efficient and easier to read. Here's an example: Create a new list that contains the squares of numbers from 1 to 10 squares = [i**2 for i in range(1, 11)] # Print the squares print(squares) # Output: [1, 4, 9, 16, 25, 36, 49, 64, 81, 100] In this example, we use a for loop and the range() function to create a list of numbers from 1 to 10, and then use list comprehension to create a new list that contains the squares of these numbers. List comprehension can also be used for filtering elements from an existing list, like this: Filter out the odd numbers from a list of numbers numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] even_numbers = [n for n in numbers if n % 2 == 0] # Print the even numbers print(even_numbers) # Output: [2, 4, 6, 8, 10] In this example, we use list comprehension and the modulo operator to create a new list that contains only the even numbers from the original list of numbers. List comprehension is a powerful and versatile feature of Python, and can save you a lot of time and effort when working with lists.
0
11
We are on Discord. Join us by clicking this link https://discord.gg/EPhnZDbS5T
0
12
PyTip for the day: When working with lists in Python, consider using list comprehensions instead of for loops to perform operations on the list elements. List comprehensions are more concise, readable, and often faster than using traditional for loops. For example, instead of using a for loop to create a new list that contains the squared values of the elements in an existing list, you can use a list comprehension like this: > numbers = 1, 2, 3, 4, 5 > squarednumbers = [num ** 2 for num in numbers] This will create a new list squarednumbers containing the squared values of the elements in numbers.
0
13
Practice projects to consider: 1. Implement a basic search engine: Read a set of documents and build an index of keywords. Then, implement a search function that returns a list of documents that match the query. 2. Build a recommendation system: Read a set of user-item interactions and build a recommendation system that suggests items to users based on their past behavior. 3. Create a data analysis tool: Read a large dataset and implement a tool that performs various analyses, such as calculating summary statistics, visualizing distributions, and identifying patterns and correlations. 4. Implement a graph algorithm: Study a graph algorithm such as Dijkstra's shortest path algorithm, and implement it in Python. Then, test it on real-world graphs to see how it performs.
0
14
To learn data structures and algorithms in Python, you can follow these steps: 1. Start with the basics: Learn about the most common data structures, such as arrays, linked lists, stacks, queues, trees, and graphs. Learn how to implement them in Python and understand their time and space complexities. 2. Study algorithms: Study the most common algorithms for searching, sorting, and traversing data structures. Understand their time and space complexities and the trade-offs between different algorithms. 3. Practice, practice, practice: The more you practice implementing data structures and algorithms, the better you will get at it. You can start by solving problems on websites like LeetCode and HackerRank, or by working on small projects of your own. 4. Read and learn from others: Read articles and blogs written by experts in the field, and learn from their experiences and insights. Follow the work of other Python developers on Github, and see how they use data structures and algorithms in their projects.
0
15
In the Python programming language, there are several built-in data structures such as lists, tuples, sets, and dictionaries. Lists are ordered collections of elements and can be modified, while tuples are ordered, immutable collections. Sets are unordered collections of unique elements, and dictionaries are unordered collections of key-value pairs. Python also has a rich set of libraries for implementing various algorithms, including NumPy and SciPy for numerical computing, and pandas for data analysis. For sorting, the "sorted" function can be used, which returns a sorted list, while the "sort" method can be used to sort a list in place. For searching, the "in" operator can be used to check if an element is in a list or a dictionary, or the "index" method can be used to find the first occurrence of an element in a list. In addition, Python has a large community of users and developers who have contributed many open-source packages that implement a wide variety of algorithms, making it easier for developers to incorporate these algorithms into their own projects.
0
16
Data structures are used to organize and store data efficiently in a computer so that they can be accessed and modified efficiently. Examples of data structures include arrays, linked lists, stacks, queues, trees, and graphs. Algorithms are step-by-step procedures for solving a problem or performing a task. Algorithms can be implemented using data structures to improve their efficiency and performance. Examples of algorithms include sorting algorithms (such as quicksort and mergesort), search algorithms (such as binary search), and graph algorithms (such as Dijkstra's shortest path algorithm). Both data structures and algorithms are fundamental concepts in computer science and are widely used in various applications, such as databases, operating systems, computer networks, and software engineering. The choice of data structure and algorithm can greatly impact the efficiency and performance of a software system.
0
17
For all those who are looking for help on learning Python, or looking for practice projects to work on... check out this topic https://t.me/python_programmers_club/121484
0
18
For all those who are looking for help on learning Python, or looking for practice projects to work on... check out this topic https://t.me/python_programmers_club/121484
0
19
Nextstrain build for novel coronavirus (nCoV) https://github.com/nextstrain/ncov
0
20
https://stackabuse.com/one-hot-encoding-in-python-with-pandas-and-scikit-learn/
0