Skip to content

Instantly share code, notes, and snippets.

@zainabnazari
Created June 29, 2023 04:42
Show Gist options
  • Save zainabnazari/530e8c5be98221e626727c84522fa02e to your computer and use it in GitHub Desktop.
Save zainabnazari/530e8c5be98221e626727c84522fa02e to your computer and use it in GitHub Desktop.
Some reading strategy
final2=pd.read_csv("final.csv", header=None,index_col=[0])
final=final2.rename(columns=final2.iloc[0]).drop(final2.index[0]).reset_index(drop=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment