NIFTY Smallcap 250 data is not available in NSE Python library. Please add it.

Tell me where is this data available in the main NSE website. I will add it.

It has a stupid CSV. Seeā€¦

Just do

csv_url = ""
df = pd.read_csv(csv_url)

This doesnt contain daily value of this index. The python library is giving an empty dataframe.

The python is fetching this URL. Try opening this in your browser. It will give you blank output if NSE themselves give the blank output.

Sometime it happens.

Just retry in such a case. If it is wrong, share back.