Whenever I try merging the datasets (TIGER/Line California data and CalEnviroscreen 4.0 dataset) the variables for CalEnviroscreen 4.0 show null values instead of the original values. Here is what I have done so far.
import esdaimport geopandas as gpdimport matplotlib.pyplot as pltimport numpy as npimport pandas as pdimport seaborn as snsfrom libpysal import iofrom libpysal import weightsfrom scipy import statsnp.random.seed(0)tracts_ca = gpd.read_file("data/tl_2020_06_tract/")tracts_ca = tracts_ca.set_index("GEOID")tracts_ca.shapetracts_ca.columnstracts_ca.head()crs = "+proj=utm +zone=11 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"tracts_ca = tracts_ca.to_crs(crs)df_calenviroscreen = pd.read_csv("data/calenviroscreen4.csv")df_calenviroscreen.shapedf_calenviroscreen.columnsdf_calenviroscreen.head()tracts = tracts_ca.merge(df_calenviroscreen, left_index=True, right_index=True, how="left")tracts.shape