Skip to content

DevSkrol

Data Science Tutorials and Articles for Beginners

Menu
  • Home
  • Design Principles
  • Data Science
    • Machine Learning
      • Data Preprocessing
      • Regression
      • Linear Regression
      • Logistic Regression
      • Decision Tree
      • Random Forest
    • Deep Learning
    • NLP
  • Image Processing
  • Python
    • Python Tips
      • A Tip A Day
    • Basic Python Tutorials
    • Python Quiz
  • Mathematics
    • Statistics
  • About
Search

Category: Python Tips

Posted onOctober 17, 2021October 28, 2021A Tip A Day

A Tip A Day – Python Tips #12: Using zfill() for ‘0’ padding

zfill() function is type of padding function. This function fills only with ‘0’. Takes the resultant width of the string as argument. This is useful to pad a numeric string values.

Read More
Posted onOctober 16, 2021October 28, 2021A Tip A Day

A Tip A Day – Python Tips #11: Split string using partition, rpartition & splitlines


There are various ways to split strings. The popular split function we use often is split(), rsplit(). Apart from these 3 there are a few more functions that is very useful in string manipulations.

Read More
Posted onSeptember 11, 2021October 26, 2021A Tip A Day

A Tip A Day – Python Tip #10: 2 reasons to use Python Type Hints

2 reasons to use Python Type Hints

Read More
Posted onSeptember 3, 2021September 3, 2021A Tip A Day

A Tip A Day – Python Tip #9: 3 Interesting things about format {}

There may be situations, where we may need to dynamically place a value in a sub string of a string. You may think it is…

Read More
Posted onFebruary 20, 2021December 27, 2021A Tip A Day

A Tip A Day – Python Tip #8: Why should we Normalize image pixel values or divide by 255?

In our previous post A Tip A Day – Python Tip #7: OpenCV – CV2: imread() and resize(), we have explored a simple image and…

Read More
Posted onFebruary 11, 2021December 22, 2021A Tip A Day

A Tip A Day – Python Tip #7: OpenCV – CV2: imread() and resize()

In this article we are going to learn some of the major use of OpenCV or CV2.

Read More
Posted onOctober 25, 2020October 25, 2020A Tip A Day

A Tip A Day – Python Tip #6 – Pandas Merge

Pandas concat & append works like an array concatenation either column wise or row wise. But Merge & Join works similar to Database table joins.…

Read More
Posted onOctober 20, 2020September 5, 2021A Tip A Day

A Tip A Day – Python Tip #5 – Pandas Concat & Append

In this article we are going to learn about Concat & Append and the comparision between these two functions. Lets take 2 dataframes of fruits.…

Read More
Posted onOctober 18, 2020October 18, 2020A Tip A Day

A tip A day – Python Tip #4 – Show Progress Bar using TQDM

Have you ever wished to see a progress bar in Jupyter Notebook when executing a complex function in for loop? Its possible in Python. There…

Read More
Posted onOctober 17, 2020October 19, 2020A Tip A Day

A tip A day – Python Tip #3 – Pandas Apply Function

Apply function takes a function as an argument and execute the function in all the elements of the dataframe. For example, if we want to…

Read More

Posts pagination

Page 1 Page 2 Next Page
© Copyright 2026 – DevSkrol – Privacy Policy
Anther Theme by DesignOrbital ⋅ Powered by WordPress