'Filtration of pandas dataframe python
I need to extract some parameters from specific rows of CSV file into a new file Here is an explanation for what I'm trying to do
File1 = pd.read_csv('File1.csv', encoding='ISO-8859-1')
Arr = File1['AAA'].unique(),File1['BBB'].unique(),File1['CCC'].unique() /// Array of integers
Then I need to take the values inside the Array and extract the matched rows from specific columns from file2 which contains:
A more explanation
I need to extract the rows which matched these values from file2(I'm focusing on DDDD, EEEE columns) and export them in a new data frame file contain from these rows to minimize the size of the file.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


