Skip to content

Instantly share code, notes, and snippets.

@Pratik-Shukla-22
Created March 24, 2022 17:05
Show Gist options
  • Save Pratik-Shukla-22/5fd9e0c0ed225e98e07ffc73187910ec to your computer and use it in GitHub Desktop.
Save Pratik-Shukla-22/5fd9e0c0ed225e98e07ffc73187910ec to your computer and use it in GitHub Desktop.
#Import required libraries:
import numpy as np
import pandas as pd
#Creating a DataFrame:
data = {"Person":[["A","B","C"],[],"D",["E","F"]],
"House":[1,2,3,4],
"Money":[10,20,30,40]}
info = pd.DataFrame(data)
info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment