Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 88336

Use for data science questions related to the programming language Python. Not intended for general coding questions (which should be asked on Stack Overflow).

3 votes
1 answer
516 views

Error while plotting Logistic Regression Classification

I was trying to plot by using the following code # Visualising the Training set results from matplotlib.colors import ListedColormap X_set, y_set = X_train, Y_train X1, X2 = np.meshgrid(np.arange(sta …
Pradeep Singh's user avatar
-1 votes
2 answers
142 views

Creating Pandas DataFrames from a dictionary containing various CSV files

I want to create 3 dataframes (i.e., gs, test and train) from the following dictionary: datasets = { "gs": "gender_submission.csv", "test": "test.csv", "train": "train.csv" } Is it possible t …
Pradeep Singh's user avatar
5 votes
2 answers
32k views

Plot Two Categorical Variables

How to plot two categorical variables in Python or using any library? I want to plot the Playing Role of a Cricketer (Batsman, Bowler, etc.) VS Bought_By (Franchise Names, e.g., CSK, DC, etc.). …
Pradeep Singh's user avatar