15,891,895 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Anirudh Sudarsan (Top 15 by date)
Anirudh Sudarsan
11-Jan-23 9:01am
View
1. The classes used in the Amazon code are the same classes that i used in the code
2. I havent used your solution so i don't if it will work
3. Is there other software or modules to be used for webscrapping. If so can you send the name and brief description about the software so that I can explore it in my free time
4. Also is it just popular and well used websites like Amazon who changes their code often or does every company does it i am curious
Anirudh Sudarsan
11-Jan-23 8:32am
View
By client i mean my trainer in my company. As I am a fresher i am learning from my trainer as to how to do it.
But the fact is that they don't know webscrapping that well. So here I am using beautiful soup for it. So can you tell me how to solve this error instead of suggesting alternatives
Anirudh Sudarsan
11-Jan-23 6:01am
View
the client wants to use python beautifulsoup module for it so that data can be converted to csv file. so is there any way to stop this error
Anirudh Sudarsan
11-Jan-23 5:59am
View
i tried to do same coding with the other websites and i get the same error
Anirudh Sudarsan
11-Jan-23 5:51am
View
Deleted
so is there any way to solve it
Anirudh Sudarsan
13-Dec-22 3:22am
View
not working. it now has this error
" Traceback (most recent call last):
File "C:\Users\ani\PycharmProjects\pythonProject\main8.py", line 43, in <module>
while value.str.contains("SPF|UV"):
AttributeError: 'str' object has no attribute 'str' "
Anirudh Sudarsan
13-Dec-22 1:39am
View
understood and i created a list and appended the output value to it. so consider this problem solved
Anirudh Sudarsan
12-Dec-22 13:18pm
View
did you fully read the question. i told that i need to store the "non-sachet" and "sachet" values printed by print command using if condition and for loop
Anirudh Sudarsan
12-Dec-22 13:14pm
View
Not Exactly I need to store the "Sachet" and "Non-Sachet" Printed Values in a python variable on analysis purpose. not storing a column on excel using pandas
Anirudh Sudarsan
12-Dec-22 12:47pm
View
Column which is used "Base Pack Size" Refers to the Size of any item. if the Size is less than 10 it is classified as a Sachet. I need to add the printed value as a Column which Specifies which Items are Sachets and which are not. The Client needs to see how many and which sachets sold the highest. you know data analytics stuff like that.
Anirudh Sudarsan
12-Dec-22 12:38pm
View
sachet means small things like 18 Cents Shampoo Packet. Also i would like to consult the net before going to them as a final resort. also is it possible to use things like closure() for storing the printed values. if so how to do it
Anirudh Sudarsan
12-Dec-22 12:21pm
View
sry bro its company client data. NDA and all that sh*t and yes its the client who provide the data in excel.
The Main Purpose is to store all the Sachet and Non-Sachet Outputs and add it into the dataframe for analysis purpose. Thats why i asked how to store all the "Non-Sachet" and "Sachet" Printed Output in a variable so that it can be added to dataframe as a column.
Also i am a fresher currently on training. So any help is appreciated
Anirudh Sudarsan
12-Dec-22 11:39am
View
thanks for the solution. it worked
Anirudh Sudarsan
9-Dec-22 13:02pm
View
df['Basepacksize'] refers to the column stored in data frame named as df. also this error also occurs when the variable name is changed to df1 for eg:
df1['Pack Ranges']=pd.cut(df['Basepacksize'].bins)
Anirudh Sudarsan
9-Dec-22 12:48pm
View
in this line
df['Pack Ranges']=pd.cut(df['Basepacksize'],bins)
Show More