I am Trying to convert the YAML Data to Data frame through pandas with yamltodb package. but it is showing only the single row enclosed with header and only one data is showing.
Just guessing, as I don’t know what your data actually looks like
import pandas as pd import yaml with open('fName.yaml', 'r') as f: df = pd.io.json.json_normalize(yaml.load(f)) df.head()