| From | To | Expression |
|---|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app.config field riak.conf variable | |
| ------------------------------------------------------------------------------------------- | |
| yokozuna.enabled yokozuna | |
| yokozuna.solr_port yokozuna.solr_port | |
| yokozuna.solr_jmx_port yokozuna.solr_jmx_port | |
| yokozuna.solr_jvm_args yokozuna.solr_jvm_args | |
| yokozuna.yz_dir yokozuna.data_dir | |
| riak_repl.data_root mdc.data_root | |
| riak_core.cluster_mgr mdc.cluster_manager | |
| riak_repl.max_fssource_cluster mdc.max_fssource_cluster |
NewerOlder