Sanjay Kumar

Sanjay Kumar

NITJ | Beta Microsoft Learn Student Ambassador | Technical Content Writer | Python Developer | Linux Enthusiast
Convert a Tuple to a String in Python

Convert a Tuple to a String in Python

A tuple can hold values that need to appear as text in a log or output field. Python’s join() method combines string values with a separator, while str() turns a tuple into its Python-style representation, including punctuation. I’ll show how…

Convert List to JSON in Python

Convert List to JSON in Python

Saving Python list values for another program means putting them in a format it can read. JSON is a text format for values, and Python’s json module encodes a list as an array. This article shows how to write the…

8 Common Django Commands That You Must Know

8 Common Django Commands That You Must Know

In this Python tutorial, we are going to discuss the top 8 Django commands which should be known to a beginner-level Django developer. So let’s get started with our discussion. Also read: An introduction to Django Forms Top 8 Django…

Turn Index to Column in a Pandas Dataframe

Turn Index to Column in a Pandas Dataframe

Hi there! In this Python tutorial, we are going to discuss how we can convert a DataFrame index to column. We will also see how to convert the multiple levels of indexes of a multi-index DataFrame into its multiple columns.…