In your case, since you want the new row to be “on top” (with starting id), and there is no function pd.prepend(), I first create the new dataframe and then append your old one. ignore_index will ignore the old ongoing index in your dataframe and ensure that the first row actually starts with index 1 instead of restarting with index 0 .
oython – insert a row to pandas dataframe – stack overflow, lython – insert a row to pandas dataframe – stack overflow, -ython – insert a row to pandas dataframe – stack overflow, 0ython – insert a row to pandas dataframe – stack overflow, ptthon – insert a row to pandas dataframe – stack overflow, pgthon – insert a row to pandas dataframe – stack overflow, phthon – insert a row to pandas dataframe – stack overflow, puthon – insert a row to pandas dataframe – stack overflow, p7thon – insert a row to pandas dataframe – stack overflow, p6thon – insert a row to pandas dataframe – stack overflow, pyrhon – insert a row to pandas dataframe – stack overflow, pyfhon – insert a row to pandas dataframe – stack overflow, pyghon – insert a row to pandas dataframe – stack overflow, pyyhon – insert a row to pandas dataframe – stack overflow, py6hon – insert a row to pandas dataframe – stack overflow, py5hon – insert a row to pandas dataframe – stack overflow, pytgon – insert a row to pandas dataframe – stack overflow, pytbon – insert a row to pandas dataframe – stack overflow, pytnon – insert a row to pandas dataframe – stack overflow, pytjon – insert a row to pandas dataframe – stack overflow, pytuon – insert a row to pandas dataframe – stack overflow, pytyon – insert a row to pandas dataframe – stack overflow, pythin – insert a row to pandas dataframe – stack overflow, pythkn – insert a row to pandas dataframe – stack overflow, pythln – insert a row to pandas dataframe – stack overflow, pythpn – insert a row to pandas dataframe – stack overflow, pyth0n – insert a row to pandas dataframe – stack overflow, pyth9n – insert a row to pandas dataframe – stack overflow, pythob – insert a row to pandas dataframe – stack overflow, pythom – insert a row to pandas dataframe – stack overflow, pythoj – insert a row to pandas dataframe – stack overflow, pythoh – insert a row to pandas dataframe – stack overflow, python ᰫ insert a row to pandas dataframe – stack overflow, python &#u211; insert a row to pandas dataframe – stack overflow, python &#i211; insert a row to pandas dataframe – stack overflow, python ⏻ insert a row to pandas dataframe – stack overflow, python ᾯ insert a row to pandas dataframe – stack overflow, python q11; insert a row to pandas dataframe – stack overflow, python w11; insert a row to pandas dataframe – stack overflow, python ⁷ insert a row to pandas dataframe – stack overflow, python ” insert a row to pandas dataframe – stack overflow, python Rq1; insert a row to pandas dataframe – stack overflow, python — insert a row to pandas dataframe – stack overflow, python ̵q; insert a row to pandas dataframe – stack overflow, python – unsert a row to pandas dataframe – stack overflow, python – jnsert a row to pandas dataframe – stack overflow, python – knsert a row to pandas dataframe – stack overflow, python – onsert a row to pandas dataframe – stack overflow, python – 9nsert a row to pandas dataframe – stack overflow, python – 8nsert a row to pandas dataframe – stack overflow, python – ibsert a row to pandas dataframe – stack overflow, python – imsert a row to pandas dataframe – stack overflow, python – ijsert a row to pandas dataframe – stack overflow, python – ihsert a row to pandas dataframe – stack overflow, python – inaert a row to pandas dataframe – stack overflow, python – inzert a row to pandas dataframe – stack overflow, python – inxert a row to pandas dataframe – stack overflow, python – indert a row to pandas dataframe – stack overflow, python – ineert a row to pandas dataframe – stack overflow, python – inwert a row to pandas dataframe – stack overflow, python – inswrt a row to pandas dataframe – stack overflow, python – inssrt a row to pandas dataframe – stack overflow, python – insdrt a row to pandas dataframe – stack overflow, python – insrrt a row to pandas dataframe – stack overflow, python – ins4rt a row to pandas dataframe – stack overflow, python – ins3rt a row to pandas dataframe – stack overflow, python – inseet a row to pandas dataframe – stack overflow, python – insedt a row to pandas dataframe – stack overflow, python – inseft a row to pandas dataframe – stack overflow, python – insett a row to pandas dataframe – stack overflow, python – inse5t a row to pandas dataframe – stack overflow, python – inse4t a row to pandas dataframe – stack overflow, python – inserr a row to pandas dataframe – stack overflow, python – inserf a row to pandas dataframe – stack overflow, python – inserg a row to pandas dataframe – stack overflow, python – insery a row to pandas dataframe – stack overflow, python – inser6 a row to pandas dataframe – stack overflow, python – inser5 a row to pandas dataframe – stack overflow, python – insert z row to pandas dataframe – stack overflow, python – insert s row to pandas dataframe – stack overflow, python – insert w row to pandas dataframe – stack overflow, python – insert q row to pandas dataframe – stack overflow, python – insert a eow to pandas dataframe – stack overflow, python – insert a dow to pandas dataframe – stack overflow, python – insert a fow to pandas dataframe – stack overflow, python – insert a tow to pandas dataframe – stack overflow, python – insert a 5ow to pandas dataframe – stack overflow, python – insert a 4ow to pandas dataframe – stack overflow, python – insert a riw to pandas dataframe – stack overflow, python – insert a rkw to pandas dataframe – stack overflow, python – insert a rlw to pandas dataframe – stack overflow, python – insert a rpw to pandas dataframe – stack overflow, python – insert a r0w to pandas dataframe – stack overflow, python – insert a r9w to pandas dataframe – stack overflow, python – insert a roq to pandas dataframe – stack overflow, python – insert a roa to pandas dataframe – stack overflow, python – insert a ros to pandas dataframe – stack overflow, python – insert a roe to pandas dataframe – stack overflow, python – insert a ro3 to pandas dataframe – stack overflow, python – insert a ro2 to pandas dataframe – stack overflow, python – insert a row ro pandas dataframe – stack overflow, python – insert a row fo pandas dataframe – stack overflow, python – insert a row go pandas dataframe – stack overflow, python – insert a row yo pandas dataframe – stack overflow, python – insert a row 6o pandas dataframe – stack overflow, python – insert a row 5o pandas dataframe – stack overflow, python – insert a row ti pandas dataframe – stack overflow, python – insert a row tk pandas dataframe – stack overflow, python – insert a row tl pandas dataframe – stack overflow, python – insert a row tp pandas dataframe – stack overflow, python – insert a row t0 pandas dataframe – stack overflow, python – insert a row t9 pandas dataframe – stack overflow, python – insert a row to oandas dataframe – stack overflow, python – insert a row to landas dataframe – stack overflow, python – insert a row to -andas dataframe – stack overflow, python – insert a row to 0andas dataframe – stack overflow, python – insert a row to pzndas dataframe – stack overflow, python – insert a row to psndas dataframe – stack overflow, python – insert a row to pwndas dataframe – stack overflow, python – insert a row to pqndas dataframe – stack overflow