This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am attesting that this GitHub handle AhmadMoussa is linked to the Tezos account tz1hXx6tvTV3kzxpBR6E4hDYcxdgcRGHUTFj for tzprofiles | |
sig:edsigtfS27ix8oe7qtCWtw7X3yPUfFFbcVn9eYXZoaxfv4aMfY6wh1BQaeWVZLsm5UqetiZVhKyJdeQ4x1CAn4XLbfW5jsxty4f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
file_path = 'path_to_your.csv' | |
if(file_path[-4:] == '.csv'): | |
df = pd.read_csv(file_path, sep=';') | |
df.to_excel (file_path[:-4] + '.xlsx', index = None, header=True) | |
file_path = file_path[:-4] + '.xlsx' | |
sheet = pd.read_excel(file_path, sheet_name='Sheet1') |
OlderNewer