df=pd.read_csv('business report (2019.12) Samsung Electronics consolidated cash flow statement.csv', encoding = 'euc-kr')
df == 'Net profit for the current period'
C:\Users\kmw07\anaconda3\lib\site-packages\pandas\core\ops\array_ops.py:253: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
res_values = method(rvalues)
It comes out like this Current profit cells are also marked False. Can you tell me why this is happening?
python pandas
df[(unit: 1 million won)"] = df[(unit: 1 million won)"].map(str.strip)
When I wrote and executed the code, the white space disappeared I don't know the principle, so can I ask you to interpret the code?
© 2025 OneMinuteCode. All rights reserved.