Wed Nov 06 2024 11:49:22 GMT+0000 (Coordinated Universal Time)
Saved by @wtlab
import pandas as pd # Sample dictionary data = { 'Name': ['Alice', 'Bob', 'Charlie'], 'Age': [24, 27, 22], 'City': ['New York', 'Los Angeles', 'Chicago'] } # Convert to DataFrame df = pd.DataFrame(data) print(df)
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments