Created
February 7, 2020 23:12
-
-
Save phpmaps/08ed7b5f886de8b7c69eebf3bd3f5faf to your computer and use it in GitHub Desktop.
dataframe pandas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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