id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
Request_Advanced/mast.html8_2_0.txt
# MAST Queries ( ` astroquery.mast ` ) ¶ ## Introduction ¶
Request_Advanced/01_query.html0_43_0.txt
print(job) <Table length=10> name dtype unit description n_bad --------- ------- ---- ------------------------------------------------------------------ ----- source_id int64 Unique source identifier (uniqu...
Request_Advanced/nasa-james-webb-space-telescope-python-data7_25_0.txt
Cloud computing involves the delivery of computer services over the Internet, and in this article, we show you what it is and what services it provides. Career Advice
Request_Advanced/01_query.html0_54_0.txt
* It selects the first 3000 rows, so it is bigger than we should run synchronously. * It selects two additional columns, ` pmra ` and ` pmdec ` , which are proper motions along the axes of ` ra ` and ` dec ` .
Request_Advanced/python-run-a-script-multiple-times-with-different-data2_30_0.txt
Add a comment | ## 2 Answers 2
Request_Advanced/01_query.html0_31_0.txt
The following loop prints the names of the columns in the table. for column in meta.columns: print(column.name) solution_id designation source_id random_index ref_epoch ra ra_error dec dec_error parallax parallax_error parallax_over_e...
Request_Advanced/concurrent_futures_4_0.txt
## Future Objects ¶ The ` Future ` class encapsulates the asynchronous execution of a callable. ` Future ` instances are created by ` Executor.submit() ` . _ class _ concurrent.futures. Future ¶ Encapsulates the asynchronous execution of a callable. ` Future ` instances are created by ` Executor...
Request_Advanced/python-run-a-script-multiple-times-with-different-data2_25_0.txt
Share Improve this question
Request_Advanced/Request_Advanced_5_0.txt
## Client Side Certificates ¶ You can also specify a local cert to use as client side certificate, as a single file (containing the private key and the certificate) or as a tuple of both files’ paths: >>> requests.get('https://kennethreitz.org', cert=('/path/client.cert', '/path/client.key')) <Res...
Request_Advanced/nasa-james-webb-space-telescope-python-data7_20_0.txt
# The Relationship Between the Cloud & AI Explained 05/01/2024
Request_Advanced/python-run-a-script-multiple-times-with-different-data2_36_0.txt
Improve this answer Follow
Request_Advanced/python-run-a-script-multiple-times-with-different-data2_13_0.txt
3. Teams 4. Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Request_Advanced/01_query.html0_34_0.txt
# Solution meta2 = Gaia.load_table('gaiadr2.panstarrs1_original_valid') print(meta2) for column in meta2.columns: print(column.name) Retrieving table 'gaiadr2.panstarrs1_original_valid' Parsing table 'gaiadr2.panstarrs1_original_valid'... Done. ...
Request_Advanced/nasa-james-webb-space-telescope-python-data7_52_0.txt
* Privacy Policy * Cookie Policy * Do Not Sell My Personal Information * Terms Made with ❤️ in NYC © 2024 Codecademy
Request_Advanced/python-run-a-script-multiple-times-with-different-data2_69_0.txt
2 How to run several times the same program with different inputs via Python script?
Request_Advanced/01_query.html0_53_0.txt
The results of an asynchronous query are stored in a file on the server, so you can start a query and come back later to get the results. For anonymous users, files are kept for three days. As an example, let’s try a query that’s similar to ` query1 ` , with these changes:
Request_Advanced/Request_Advanced_3_0.txt
## Prepared Requests ¶ Whenever you receive a [ ` Response ` ](../../api/#requests.Response "requests.Response") object from an API call or a Session call, the ` request ` attribute is actually the ` PreparedRequest ` that was used. In some cases you may wish to do some extra work to the body or headers (or anythi...
Request_Advanced/01_query.html0_81_0.txt
Modify ` query3_base ` to replace ` 1 ` with a format specifier like ` {max_parallax} ` . Now, when you call ` format ` , add a keyword argument that assigns a value to ` max_parallax ` , and confirm that the format specifier gets replaced with the value you provide. # Solution query_base =...
Request_Advanced/01_query.html0_60_0.txt
The clauses in a query have to be in the right order. Go back and change the order of the clauses in ` query2 ` and run it again. The modified query should fail, but notice that you don’t get much useful debugging information. For this reason, developing and debugging ADQL queries can be really hard. A few suggestion...
Request_Advanced/Request_Advanced_22_0.txt
## Header Ordering ¶ In unusual circumstances you may want to provide headers in an ordered manner. If you pass an ` OrderedDict ` to the ` headers ` keyword argument, that will provide the headers with an ordering. _However_ , the ordering of the default headers used by Requests will be preferred, which means tha...
Request_Advanced/concurrent_futures_1_0.txt
## Executor Objects ¶ _ class _ concurrent.futures. Executor ¶ An abstract class that provides methods to execute calls asynchronously. It should not be used directly, but through its concrete subclasses. submit ( _ fn _ , _ / _ , _ * args _ , _ ** kwargs _ ) ¶ Schedules the callable, _...
Request_Advanced/Request_Advanced_20_0.txt
## Transport Adapters ¶ As of v1.0.0, Requests has moved to a modular internal design. Part of the reason this was done was to implement Transport Adapters, originally [ described here ](https://kenreitz.org/essays/2012/06/14/the-future-of-python- http) . Transport Adapters provide a mechanism to define interaction ...
Request_Advanced/01_query.html0_87_0.txt
* Develop queries incrementally: start with something simple, test it, and add a little bit at a time. * Use ADQL features like ` TOP ` and ` COUNT ` to test before you run a query that might return a lot of data.
Request_Advanced/01_query.html0_78_0.txt
Notice that the format specifier has been replaced with the value of ` columns ` . Let’s run it and see if it works:
Request_Advanced/Request_Advanced_11_0.txt
## POST Multiple Multipart-Encoded Files ¶ You can send multiple files in one request. For example, suppose you want to upload image files to an HTML form with a multiple file field ‘images’: <input type="file" name="images" multiple="true" required="true"/> To do that, just set files to a list ...
Request_Advanced/nasa-james-webb-space-telescope-python-data7_31_0.txt
Today’s story is from Fabrizio Bertoglio, a 36-year-old React Native Engineer at Expensify, living in Bali, Indonesia. Data Science
Request_Advanced/python-run-a-script-multiple-times-with-different-data2_17_0.txt
Learn more about Teams Get early access and see previews of new features.
Request_Advanced/python-run-a-script-multiple-times-with-different-data2_41_0.txt
* No problem! If this has answered your question, please do mark as answered. – Benjamin Hall
Request_Advanced/python-run-a-script-multiple-times-with-different-data2_78_0.txt
#### Hot Network Questions * Reproducing Roman Verostko's FF 2004 Drawing * What is this 4-pin fan header? * Are there non-antisymmetric solutions to the electronic Hamiltonian? * room light controller * Romans 9:5 Is this a scriptural evidence for Pauline Trinitarian Christology * What happens to th...
Request_Advanced/Request_Advanced_18_0.txt
## Custom Verbs ¶ From time to time you may be working with a server that, for whatever reason, allows use or even requires use of HTTP verbs not covered above. One example of this would be the MKCOL method some WEBDAV servers use. Do not fret, these can still be used with Requests. These make use of the built-in ` ...
Request_Advanced/nasa-james-webb-space-telescope-python-data7_7_0.txt
> View this post on Instagram > > A post shared by Codecademy (@codecademy) While it’s practically impossible to wrap your head around the vastness of the universe, the technology that JWST uses to take these incredible images is more down-to-earth than you might think. In fact, the general-purpose programming languag...
Request_Advanced/Request_Advanced_23_0.txt
## Timeouts ¶ Most requests to external servers should have a timeout attached, in case the server is not responding in a timely manner. By default, requests do not time out unless a timeout value is set explicitly. Without a timeout, your code may hang for minutes or more. The **connect** timeout is the number of ...
Request_Advanced/01_query.html0_9_0.txt
## Query Language ¶ In order to select data from a database, you have to compose a query, which is a program written in a “query language”. The query language we’ll use is ADQL, which stands for “Astronomical Data Query Language”.
Request_Advanced/python-run-a-script-multiple-times-with-different-data2_64_0.txt
* python or ask your own question .
Request_Advanced/nasa-james-webb-space-telescope-python-data7_28_0.txt
Today’s story is from Franklin Méndez, a 28-year-old Front-end Engineer at Reply Pro, living in Honduras. Get Inspired
Request_Advanced/Request_Advanced_17_1.txt
>>> body = json.dumps({u"body": u"Sounds great! I'll get right on it!"}) >>> url = u"https://api.github.com/repos/psf/requests/issues/482/comments" >>> r = requests.post(url=url, data=body) >>> r.status_code 404 Huh, that’s weird. We probably need to authenticate. That’ll be a pain, ri...
Request_Advanced/01_query.html0_47_0.txt
* SQL databases are designed to process queries. An Astropy ` Table ` can perform some query-like operations, like selecting columns and rows. But these operations use Python syntax, not SQL. Jupyter knows how to display the contents of a ` Table ` .
Request_Advanced/python-run-a-script-multiple-times-with-different-data2_76_0.txt
0 Repeat one python script with different inputs 1 to 100
Request_Advanced/python-run-a-script-multiple-times-with-different-data2_48_0.txt
1 * 1
Request_Advanced/01_query.html0_77_0.txt
But if you print it, the line breaks appear as… line breaks. print(query3) SELECT TOP 10 source_id, ra, dec, pmra, pmdec FROM gaiadr2.gaia_source WHERE parallax < 1 AND bp_rp BETWEEN -0.75 AND 2
firebase/firestore-query-filter-compound-multi-eq5_16_0.txt
* Google Cloud Marketplace Documentation * Google Cloud Skills Boost
firebase/queries4_182_0.txt
##### C# CollectionReference citiesRef = db.Collection("cities"); Query query = citiesRef.WhereEqualTo("State", "CA"); QuerySnapshot querySnapshot = await query.GetSnapshotAsync(); foreach (DocumentSnapshot documentSnapshot in querySnapshot.Documents) { Console.WriteLine("Documen...
firebase/queries4_2_0.txt
* Engage Solutions Pricing Docs
firebase/multiple-range-fields5_110_0.txt
* Introduction * Explore use cases * Get started * Test, preview, then deploy * Deploy via GitHub pull requests * Share project resources across multiple sites * Connect a custom domain * Configure hosting behavior * Configure i18n rewrites * Add SDKs using reserved URLs...
firebase/queries4_126_0.txt
* Server implementation * iOS+ client implementation * Android client implementation * Web client implementation * C++ client implementation * Unity client implementation * Debug & test providers
firebase/multiple-range-fields5_62_0.txt
* Get Started * Structure Data * Save Data * Retrieve Data * Unity
firebase/firestore_0_11.txt
* [ Introduction ](/docs/extensions) * [ Use case examples ](/docs/extensions/samples) * Use an extension in your project * [ Overview ](/docs/extensions/overview-use-extensions) * [ Install an extension ](/docs/extensions/install-extensions) * [ Manage installed extensions ](/docs/extens...
firebase/firestore-data-filter-by-date-android-java9_15_0.txt
Learn more about Collectives Teams
firebase/firestore-data-filter-by-date-android-java9_17_0.txt
Learn more about Teams Get early access and see previews of new features.
firebase/firestore_2_14.txt
le to around 200,000 concurrent connections and 1,000 writes/second in a single database. Scaling beyond that requires sharding your data across multiple databases. * No local limits on write rates to individual pieces of data. ### Security Cloud Firestore Preferred | Realtime Database ---|--- **No...
firebase/multiple-range-fields5_136_0.txt
* Related products * Cloud Messaging * Remote Config
firebase/queries4_364_0.txt
### Python cities_ref = db.collection("cities") query = cities_ref.where( filter=FieldFilter("regions", "in", [["west_coast"], ["east_coast"]]) ) return query snippets.py
firebase/queries4_509_0.txt
import ( "context" "fmt" "io" "cloud.google.com/go/firestore" "google.golang.org/api/iterator" ) // collectionGroupQuery runs a collection group query over the data created by // collectionGroupSetup. func collectionGroupQuery(w io.Writer, projectID strin...
firebase/queries4_56_0.txt
* Get Started * Structure Data * Read and Write Data * Work with Lists of Data * Enable Offline Capabilities * Android
firebase/firestore-data-filter-by-date-android-java9_32_0.txt
Can you share any code you have created so far and the structure of the data you are looking at? I would think you would just return x activity where the date equals today and y activity where the date is before today? – MyNameIsCaleb
firebase/queries4_539_0.txt
* Android * Chrome * Firebase * Google Cloud Platform * All products * Terms * Privacy * Manage cookies
firebase/queries4_531_0.txt
A related effect applies to inequalities. A query with an inequality filter on a field also implies ordering by that field. The following query does not return documents without a ` population ` field even if ` country = USA ` in that document . As a workaround, you can execute separate queries for each ordering or you...
firebase/queries4_426_0.txt
### Python cities_ref = db.collection("cities") cities_ref.where(filter=FieldFilter("state", ">=", "CA")).where( filter=FieldFilter("population", ">=", 1000000) ) snippets.py
firebase/multiple-range-fields5_103_0.txt
* Custom Models * Use a custom model
firebase/firestore-query-filter-compound-multi-eq5_1_0.txt
close * AI solutions, generative AI, and ML
firebase/firestore_4_17.txt
// assertions in the response object to be evaluated. myFunctions.addMessage(req, res); [test.offline.js](https://github.com/firebase/functions-samples/blob/071ac156f63dbc4fcef5adc492d912c51949978c/Node-1st-gen/quickstarts/uppercase-rtdb/functions/test/test.offline.js#L122-L136) ## Test cleanup At th...
firebase/queries4_54_0.txt
* Samples * iOS * Android * Web
firebase/queries4_445_0.txt
##### C++ Snippet not available.
firebase/queries4_484_0.txt
CollectionReference cities = db.collection("cities"); final List<ApiFuture<WriteResult>> futures = Arrays.asList( cities .document("SF") .collection("landmarks") .document() .set( new HashMap<S...
firebase/firestore-data-filter-by-date-android-java9_63_0.txt
* Why does Ripley buy six train tickets? * How quickly can a percussionist switch from vibraphone to marimba? * "A pebble of disappointment plummets the length of him" * Who Bears the Burden of Proof Regarding Free Will: Advocates or Skeptics * Given MAC address, how to tell if interface is wifi * The ...
firebase/queries4_498_0.txt
Note: This product is not available on watchOS and App Clip targets. db.collectionGroup("landmarks").whereField("type", isEqualTo: "museum").getDocuments { (snapshot, error) in // ... } ViewController.swift
firebase/queries4_488_0.txt
const citiesRef = db.collection('cities'); await citiesRef.doc('SF').collection('landmarks').doc().set({ name: 'Golden Gate Bridge', type: 'bridge' }); await citiesRef.doc('SF').collection('landmarks').doc().set({ name: 'Legion of Honor', type: 'museum' }); ...
firebase/queries4_64_0.txt
* Understand Rules * Get Started * Structure Security Rules * Write Conditions for Security Rules * Index Data * Manage Rules via REST * Usage and Performance
firebase/queries4_237_0.txt
Query stateQuery = cities.whereEqualTo("state", "CA"); Query populationQuery = cities.whereLessThan("population", 1000000L); Query nameQuery = cities.whereGreaterThanOrEqualTo("name", "San Francisco"); QueryDataSnippets.java ##### Python
firebase/queries4_7_0.txt
* Learn * Events
firebase/queries4_339_0.txt
### Java CollectionReference citiesRef = db.collection("cities"); citiesRef.whereArrayContainsAny("regions", Arrays.asList("west_coast", "east_coast")); DocSnippets.java
firebase/performance_monitoring_0_5.txt
sues, for example, in the following scenarios: * You select relevant metrics on the dashboard and you notice a big delta. * In the traces table you sort to display the largest deltas at the top, and you see a significant percentage change. * You receive an email alert notifying you of a performance issue. Yo...
firebase/queries4_96_0.txt
* Detect and track objects * Overview * iOS * Android
firebase/firestore_4_13.txt
alize SDK in online mode (recommended) If you would like to write tests that interact with a test project, you need to supply the project config values that are needed for initializing the app through ` firebase-admin ` , and the path to a service account key file. To get your Firebase project's config values: 1. ...
firebase/queries4_98_0.txt
* AutoML Vision Edge * Overview * Train image labeling models * Label images with your models
firebase/multiple-range-fields5_54_0.txt
* Samples * iOS * Android * Web
firebase/firestore-data-filter-by-date-android-java9_59_0.txt
How do I generate random integers within a specific range in Java? 3734
firebase/queries4_150_0.txt
Note: This product is not available on watchOS and App Clip targets. FIRCollectionReference *citiesRef = [self.db collectionWithPath:@"cities"]; [[citiesRef documentWithPath:@"SF"] setData:@{ @"name": @"San Francisco", @"state": @"CA", @"country": @"USA", @"capital": @(NO), ...
firebase/firestore_4_11.txt
cpp/custom-resource) * [ Unity ](/docs/app-check/unity/custom-resource) * [ Verify tokens on the backend ](/docs/app-check/custom-resource-backend) * Extensions * [ Introduction ](/docs/extensions) * [ Use case examples ](/docs/extensions/samples) * Use an extension in your project ...
firebase/queries4_353_0.txt
### Web modular API Learn more about the tree-shakeable modular Web API and upgrade from the namespaced API.
firebase/multiple-range-fields5_94_0.txt
* Scan barcodes * Overview * iOS * Android
firebase/multiple-range-fields5_36_0.txt
* Flutter * Get Started * Manage Users * Password Authentication * Email Link Authentication * Federated Identity & Social * Phone Number * Use a Custom Auth System * Anonymous Authentication * Multi-factor Auth * Link Multiple Auth Providers ...
firebase/queries4_107_0.txt
* Prepare for Production * Reduce app package size
firebase/queries4_23_0.txt
* Crashlytics * Performance Monitoring
firebase/queries4_316_0.txt
##### Objective-C Note: This product is not available on watchOS and App Clip targets.
firebase/firestore-data-filter-by-date-android-java9_34_0.txt
– Frank van Puffelen Dec 27, 2021 at 1:04
firebase/queries4_172_0.txt
### Java // Create a reference to the cities collection CollectionReference citiesRef = db.collection("cities"); // Create a query against the collection. Query query = citiesRef.whereEqualTo("state", "CA"); DocSnippets.java
firebase/queries4_255_0.txt
Query notCapitalQuery = citiesRef.whereNotEqualTo("capital", false); DocSnippets.java ### Dart
firebase/queries4_277_0.txt
### Java CollectionReference citiesRef = db.collection("cities"); citiesRef.whereArrayContains("regions", "west_coast"); DocSnippets.java
firebase/queries4_102_0.txt
* Generate smart replies * Overview * iOS * Android
firebase/queries4_155_0.txt
##### Python class City: def __init__(self, name, state, country, capital=False, population=0, regions=[]): self.name = name self.state = state self.country = country self.capital = capital self.population = population self....
firebase/firestore_3_5.txt
rk with point-in-time recovery (PITR) ](/docs/firestore/use-pitr) * Techniques and best practices * [ Best practices for Cloud Firestore ](/docs/firestore/best-practices) * [ Map data with Swift Codable ](/docs/firestore/solutions/swift-codable-data-mapping) * [ Understand reads and writes a...
firebase/queries4_170_0.txt
Note: This product is not available on watchOS and App Clip targets. // Create a reference to the cities collection FIRCollectionReference *citiesRef = [self.db collectionWithPath:@"cities"]; // Create a query against the collection. FIRQuery *query = [citiesRef queryWhereField:@"state" isEq...
firebase/queries4_274_0.txt
citiesRef .whereField("regions", arrayContains: "west_coast") ViewController.swift ##### Objective-C
firebase/firestore-query-filter-compound-multi-eq5_43_0.txt
* Google Cloud documentation * Google Cloud quickstarts * Google Cloud Marketplace * Learn about cloud computing * Support * Code samples * Cloud Architecture Center * Training * Certifications * Google for Developers * Google Cloud for Startups * System status...
firebase/queries4_491_0.txt
List<Task<DocumentReference>> futures = new List<Task<DocumentReference>>(){ citiesRef .Document("SF") .Collection("landmarks") .AddAsync( new Dictionary<string, object>() { ...
firebase/multiple-range-fields5_172_0.txt
* Guides * Reference * Samples * Libraries * GitHub * ### Stay connected * Blog * Firebase Summit * Twitter * YouTube * ### Support
firebase/multiple-range-fields5_41_0.txt
* Customize the Email Action Handler * Extend with Cloud Functions * Extend with blocking functions * Email Custom Domains * Case Studies * Usage Limits * Cloud Firestore
firebase/multiple-range-fields5_106_0.txt
* A/B test two versions of a model * iOS * Android
firebase/multiple-range-fields5_69_0.txt
* Get Started * Create a Reference * Upload Files * Download Files * Use File Metadata * Delete Files * List Files * Handle Errors * Flutter