Create dataframe from dict
Tags: #pandas #dict #snippet #dataframe #operations
Description: This notebook provides a step-by-step guide to creating a dataframe from a dictionary using the Pandas library.
import pandas as pd
my_dict = {"LABEL": 1995, "VALUE": 219}
df = pd.DataFrame([my_dict])
df
df
Last modified 1mo ago