File size: 437 Bytes
a9b01bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import os
import pandas as pd

files = []
for dirpath, dirnames, filenames in os.walk('data/audio/User'):
    for filename in filenames:
        if filename.endswith('.wav'):
            files.append(os.path.join(dirpath, filename))

files
df = pd.DataFrame(files, columns=['files'])

import numpy as np
df1 = pd.read_csv('users_ayahs.csv')


# result = df1['files'].isin(list)
result = df1[~df1['file_name'].isin(files)]

print(result)