简体   繁体   中英

How to separate many dataframes from one excel Sheet Pandas

I'm using an excel sheet with many different dataframes on it. I'd like to import those dataframes but separately. For now When i import the excel_file with pandas, it creates one single dataframe full of blanks where the dataframe are delimited. How can I create a different dataframe for each on of them?

Thanks

If you're using the pandas.read_excel() function, you can simply use the usecols parameter to specify which columns you want to include in each dataframe. Only downside would be you'd need to do a read_excel call for each of the dataframes you want to read in.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM