Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- link = '/home/malixds/Загрузки/Untit23.csv'
- df = pd.read_csv(link)
- for i in range(df.shape[0]):
- for j in range(df.shape[1]):
- if df.iloc[i, j][-1] == '.':
- print(df.iloc[i][j])
- print('\n')
- else:
- print(df.iloc[i][j])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement