I want to convert geotiff file into geopandas dataframe or pandas dataframe. I found this solution here but
#!pip3 install georasters
import georasters as gr
import pandas
myRaster = 'demo.tif'
elevation = gr.from_file(myRaster)
#elevation #<georasters.georasters.GeoRaster at 0x7f38507aff90>
#elevation = elevation.to_pandas()
#elevation = elevation.to_geopandas()
but I am getting the error ValueError: Must pass 2-d input. shape=(3, 1500, 3000).
Example geotiff below that I found from here.
How can I convert geotiff file into pandas dataframe or geopandas dataframe?

