import numpy as np
import pandas as pd

import geopandas
from geopandas import GeoDataFrame, read_file
from geopandas import _compat as compat

from pandas.testing import assert_frame_equal
import pytest

from geopandas.testing import assert_geodataframe_equal


@pytest.fixture
def nybb_polydf():
    nybb_filename = geopandas.datasets.get_path("nybb")
    nybb_polydf = read_file(nybb_filename)
    nybb_polydf = nybb_polydf[["geometry", "BoroName", "BoroCode"]]
    nybb_polydf = nybb_polydf.rename(columns={"geometry": "myshapes"})