Advertisement
malixds_

Untitled

Mar 1st, 2023
618
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. import pandas as pd
  2.  
  3. link = '/home/malixds/Загрузки/Untit23.csv'
  4. df = pd.read_csv(link)
  5. for i in range(df.shape[0]):
  6.     for j in range(df.shape[1]):
  7.         if df.iloc[i, j][-1] == '.':
  8.             print(df.iloc[i][j])
  9.             print('\n')
  10.         else:
  11.             print(df.iloc[i][j])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement