Skip to content

Instantly share code, notes, and snippets.

@phpmaps
Created February 7, 2020 23:12
Show Gist options
  • Select an option

  • Save phpmaps/08ed7b5f886de8b7c69eebf3bd3f5faf to your computer and use it in GitHub Desktop.

Select an option

Save phpmaps/08ed7b5f886de8b7c69eebf3bd3f5faf to your computer and use it in GitHub Desktop.
dataframe pandas
import pandas as pd
import numpy as np
df = pd.DataFrame(np.array([
["1001 19th St North", "Arlington", "VA", "Esri R&D"],
["380 New York St", "Redlands", "CA", "Esri Headquarters"],
["920 SW #rd Avenue", "Portland", "OR", "Esri R&D"],
["75 Broad St", "New York City", "NY", "Esri Regional Office"]
]), columns=["Address", "City", "State", "Office"])
df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment