Open in app
Home
Notifications
Lists
Stories

Write
Ujjwal Dalmia
Ujjwal Dalmia

Home

About

Published in Towards Data Science

·May 7, 2021

Data Wrangling Solutions — Working With Dates — Part 3

Extract information from columns containing DateTime data. — In the last two tutorials, we went from importing data containing date columns to converting them from non-DateTime datatype to DateTime datatype. In this tutorial, we will go through a few data-wrangling scenarios and their solutions that we encounter while working with DateTime columns. Assumption and Recommendation If you would like to implement…

Python

5 min read

Data Wrangling Solutions — Working With Dates — Part 3
Data Wrangling Solutions — Working With Dates — Part 3

Published in Towards Data Science

·Apr 23, 2021

Data Wrangling Solutions — Working With Dates — Part 2

Convert columns from non-date to date datatypes — In the last tutorial, we looked at the various approaches to read the data files containing the date-time variables. In this tutorial, we will discuss how to handle columns of an existing dataframe that contains date-time data but are still read by Python as an object datatype. Assumption and Recommendation Being hands-on is…

Data Science

5 min read

Data Wrangling Solutions — Working With Dates — Part 2
Data Wrangling Solutions — Working With Dates — Part 2

Published in Towards Data Science

·Mar 27, 2021

Data Wrangling Solutions — Working With Dates — Part 1

Reading files containing the dates column. — The topic discussed here is a challenge that every aspiring data scientist/ analyst stumbles upon at the start of their data science journey. The challenge with this problem is that you will continue to encounter it in some scenario or the other, and every time you do that, you will…

Python

6 min read

Data Wrangling Solutions — Working With Dates — Part 1
Data Wrangling Solutions — Working With Dates — Part 1

Published in Analytics Vidhya

·Mar 12, 2021

Data Wrangling Solutions— Splitting Column with Each Cell Containing List of Values

A common data wrangling challenge and a one-step solution. — During the data preparation stage of an analytics project, a common challenge is to have a list of values in a table’s column. Typically, in a scenario like this, an analyst would like to split it into multiple records. A visual representation of this case is as below:

Python

5 min read

Data Wrangling Solutions— Splitting Column with Each Cell Containing List of Values
Data Wrangling Solutions— Splitting Column with Each Cell Containing List of Values

Published in Analytics Vidhya

·Feb 27, 2021

Pandas For Beginners: Reshaping Dataframes (Part 2)

Converting your data from long-form to wide-form — In the last tutorial, we demonstrated the Pandas melt function to reshape the wide-data form into the long-form. This tutorial will focus on the opposite process. To bring everyone on the same page, presenting a visual of the problem we are trying to solve:

Python

4 min read

Pandas For Beginners — Reshaping Dataframes — Part 2
Pandas For Beginners — Reshaping Dataframes — Part 2

Published in Analytics Vidhya

·Feb 12, 2021

Pandas for Beginners — Reshaping Dataframes — Part 1

Converting your data from wide-form to long-form — One of the data wrangling scenarios we commonly encounter during the pre-processing stage of an analytics project is to reshape the data. Most of our colleagues starting their data science journey struggle to convert columns into rows and vice versa. …

Pandas

3 min read

Pandas for Beginners — Reshaping Dataframes — Part 1
Pandas for Beginners — Reshaping Dataframes — Part 1

Published in Towards Data Science

·Jan 29, 2021

Data Wrangling For Beginners — A Unique Feature Of Python Language

Using If-Else conditions within loops — Most of us have used the if-else conditional blocks in one or the other programming language. Python goes a step ahead and supports the use of the else conditional block in looping structures too. …

Python

4 min read

Data Wrangling For Beginners — A Unique Feature Of Python Language
Data Wrangling For Beginners — A Unique Feature Of Python Language

Published in Towards Data Science

·Jan 15, 2021

Data Wrangling Basics — Why is Regex In Python Preceded By The Letter r?

Explaining the working of regular expressions in Python — When writing regular expressions (regex) in Python language, we always start with the letter r. In this tutorial, we will understand the reason behind using it by answering the following questions: What are the escape sequences? How Python interpreter interprets escape sequences with or without the letter r? How regular…

Python

7 min read

Data Wrangling Basics — Why is Regex In Python Preceded By The Letter r?
Data Wrangling Basics — Why is Regex In Python Preceded By The Letter r?

Published in Towards Data Science

·Jan 1, 2021

Data Wrangling Solutions — Dynamically Creating Variables When Slicing Dataframes

Making Python Easy — When working on a data science project, we spend more than 70% of our time adjusting data to our needs. While munging data, we encounter many scenarios for which ready-made solutions are not available in standard libraries like pandas. One such scenario is when we have to create multiple dataframes…

Python

5 min read

Data Wrangling Solutions — Dynamically Creating Variables When Slicing Dataframes
Data Wrangling Solutions — Dynamically Creating Variables When Slicing Dataframes

Published in Towards Data Science

·Dec 5, 2020

Environment & Package Management

Beginner’s Guide To Anaconda — A good handle on Package and Environment management ensures that we continue to avail the benefits of the latest package functionalities while ensuring that projects running on older package releases do not break down. This tutorial is a beginner’s guide to learn both package and environment management using Conda that…

Python

7 min read

Environment & Package Management
Environment & Package Management
Ujjwal Dalmia

Ujjwal Dalmia

Learner, Practitioner, Mentor, Trainer. Connect with me on Linkedin: https://www.linkedin.com/in/ujjwaldalmia/

Following
  • Adam Votava

    Adam Votava

  • Giorgos Myrianthous

    Giorgos Myrianthous

  • Alessandro Butler

    Alessandro Butler

  • Soner Yıldırım

    Soner Yıldırım

  • John Maeda

    John Maeda

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable