Please explain in detail what will happen if the following program is executed:
#include <iostream>
int main() {
std::cout << "Hello, world!" << std::endl;
}
#List unique values in a DataFrame column | |
pd.unique(df.column_name.ravel()) | |
#Convert Series datatype to numeric, getting rid of any non-numeric values | |
df['col'] = df['col'].astype(str).convert_objects(convert_numeric=True) | |
#Grab DataFrame rows where column has certain values | |
valuelist = ['value1', 'value2', 'value3'] | |
df = df[df.column.isin(value_list)] |
Competitions:- | |
https://www.kaggle.com/ | |
https://www.hackerearth.com/ | |
Books:- | |
Introduction to Algorithms By Thomas H Cormen | |
Pattern Recognition and Machine Learning By Christopher M. Bishop | |
Freakonomics By Steven D. Levitt and Stephen J. Dubner |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition: